type.d.ts 480 B

1234567891011121314151617181920212223
  1. import { BadgeProps } from '../badge/index';
  2. export interface TdSideBarItemProps {
  3. badgeProps?: {
  4. type: ObjectConstructor;
  5. value?: BadgeProps;
  6. };
  7. disabled?: {
  8. type: BooleanConstructor;
  9. value?: boolean;
  10. };
  11. icon?: {
  12. type: null;
  13. value?: string | object;
  14. };
  15. label?: {
  16. type: StringConstructor;
  17. value?: string;
  18. };
  19. value?: {
  20. type: null;
  21. value?: string | number;
  22. };
  23. }