@naturacosmeticos/natds-react
Version:
A collection of components from Natura Design System for React
33 lines (32 loc) • 706 B
TypeScript
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;
}