@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
13 lines (11 loc) • 313 B
text/typescript
import { ComponentProps } from 'react';
export type AllowedTagNames = 'div' | 'section';
export type Props<TComponent extends AllowedTagNames = AllowedTagNames> = Omit<
ComponentProps<TComponent>,
'id'
> & {
/**
* The HTMLElement that the tabpanel should be rendered as
*/
tagName?: TComponent;
};