@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
38 lines (37 loc) • 1.04 kB
TypeScript
/**
* MSKCC DSM 2021, 2023
*/
import PropTypes from 'prop-types';
import { type HTMLAttributes, type ReactNode } from 'react';
export interface TabContentProps extends HTMLAttributes<HTMLDivElement> {
/**
* Pass in content to render inside the TabContent
*/
children?: ReactNode;
/**
* Provide a className for the tab content container
*/
className?: string;
/**
* Specify whether the TabContent is selected
*/
selected?: boolean;
}
declare function TabContent(props: any): JSX.Element;
declare namespace TabContent {
var propTypes: {
/**
* Pass in content to render inside the TabContent
*/
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
/**
* Provide a className for the tab content container
*/
className: PropTypes.Requireable<string>;
/**
* Specify whether the TabContent is selected
*/
selected: PropTypes.Requireable<boolean>;
};
}
export default TabContent;