UNPKG

@naturacosmeticos/natds-react

Version:
33 lines (32 loc) 706 B
import React from 'react'; import { BrandTypes } from '../../brandTypes/brandTypes'; export interface TabItemProps { /** * Specify an optional className to be added to your TabItem */ className?: string; /** * Specify an optional brand to be added to your TabItem */ brand?: BrandTypes; /** * Optional ID for testing */ testID?: string; /** * Specify the content of your TabItem */ children: React.ReactNode; /** * Define if tab is active */ isActive?: boolean; /** * Define if tab is disabled */ isDisabled?: boolean; /** * Dispatch when tab is clicked */ onClick: () => void; }