Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Tab.d.ts 609B

123456789101112131415161718192021222324
  1. import * as React from 'react';
  2. import TabContainer from './TabContainer';
  3. import TabContent from './TabContent';
  4. import TabPane from './TabPane';
  5. import { BsPrefixComponent } from './helpers';
  6. export interface TabProps extends React.ComponentPropsWithRef<typeof TabPane> {
  7. eventKey?: unknown;
  8. title: React.ReactNode;
  9. disabled?: boolean;
  10. tabClassName?: string;
  11. }
  12. declare class Tab<
  13. As extends React.ElementType = 'div'
  14. > extends BsPrefixComponent<As, TabProps> {
  15. static Container: typeof TabContainer;
  16. static Content: typeof TabContent;
  17. static Pane: typeof TabPane;
  18. }
  19. export default Tab;