TabsProps: {
    activeKey?: string | null;
    activeLineMode?: "auto" | "full" | "fixed";
    autoScroll?: boolean;
    children?: ReactNode;
    defaultActiveKey?: string | null;
    direction?: "ltr" | "rtl";
    onChange?: ((key) => void);
    stretch?: boolean;
} & NativeProps<"--fixed-active-line-width" | "--active-line-height" | "--active-line-border-radius" | "--title-font-size" | "--content-padding" | "--active-title-color" | "--active-line-color">

Type declaration

  • Optional activeKey?: string | null
  • Optional activeLineMode?: "auto" | "full" | "fixed"
  • Optional Experimental autoScroll?: boolean

    Support disabled auto scroll when Tabs header content change. This API name or function may change in the future. Please lock the version if you want to use it.

  • Optional children?: ReactNode
  • Optional defaultActiveKey?: string | null
  • Optional direction?: "ltr" | "rtl"
  • Optional onChange?: ((key) => void)
      • (key): void
      • Parameters

        • key: string

        Returns void

  • Optional stretch?: boolean

Generated using TypeDoc