@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
42 lines (39 loc) • 796 B
text/typescript
const tabsProviderArgTypes = {
children: {
description: 'Provides the child nodes for this element.',
table: {
type: {
summary: 'ReactNode',
},
defaultValue: {
summary: 'undefined',
},
},
},
selectedTab: {
description: 'The key of the selected tab',
control: { type: 'text' },
table: {
type: {
summary: 'React.Key',
},
},
},
id: {
description:
'Define the prefix for the ids of the tabs and the tabpanel. Otherwise a uuid will be used',
control: { type: 'text' },
table: {
type: {
summary: 'string',
},
defaultValue: {
summary: 'uuidv4()',
},
},
},
};
export { tabsProviderArgTypes };
export default {
...tabsProviderArgTypes,
};