• Parameters

    • props: {
          children?: ReactNode;
          onIndexChange?: ((index) => void);
          sticky?: boolean;
      } & {
          className?: string;
          style?: CSSProperties & Partial<Record<"--sticky-offset-top", string>>;
          tabIndex?: number;
      } & AriaAttributes & RefAttributes<IndexBarRef>

    Returns ReactNode

Properties

$$typeof: symbol
defaultProps?: Partial<{
    children?: ReactNode;
    onIndexChange?: ((index) => void);
    sticky?: boolean;
} & {
    className?: string;
    style?: CSSProperties & Partial<Record<"--sticky-offset-top", string>>;
    tabIndex?: number;
} & AriaAttributes & RefAttributes<IndexBarRef>>
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: WeakValidationMap<{
    children?: ReactNode;
    onIndexChange?: ((index) => void);
    sticky?: boolean;
} & {
    className?: string;
    style?: CSSProperties & Partial<Record<"--sticky-offset-top", string>>;
    tabIndex?: number;
} & AriaAttributes & RefAttributes<IndexBarRef>>

Generated using TypeDoc