Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

children?: ReactNode

The children to display in the tab. This is required and should normally just be text or an icon.

className?: string

An optional className to apply to the tab.

contentClassName?: string

An optional className to apply to the <span> surrounding the children of the Tab. You probably won't need to use this.

contentStyle?: CSSProperties

An optional style to apply to the <span> surrounding the children of the Tab. You probably won't need to use this.

disabled?: boolean

Boolean if the tab should be disabled.

icon?: ReactNode

An optional icon to render in the Tab along with the normal text. If you want to have an icon only tab, you should not use this prop and instead just provide the icon as the tab's children.

iconAfter?: boolean

Boolean if the icon should appear after the text instead of before. When the stacked prop is also enabled, it will cause the icon to appear below the text instead of above.

id?: string

An optional id to use for the tab if the default generated ids are not to your liking.

stacked?: boolean

Boolean if the icon and text should be stacked instead of rendered inline. This is only valid when the icon prop has been provided.

style?: CSSProperties

An optional style to apply to the tab.

Generated using TypeDoc