item.tsx 370 B

123456789101112
  1. import {Item as _Item} from '@react-stately/collections';
  2. import {ItemProps} from '@react-types/shared';
  3. import {LocationDescriptor} from 'history';
  4. export interface TabListItemProps extends ItemProps<any> {
  5. key: React.Key;
  6. disabled?: boolean;
  7. hidden?: boolean;
  8. to?: LocationDescriptor;
  9. }
  10. export const Item = _Item as (props: TabListItemProps) => JSX.Element;