@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
24 lines (23 loc) • 670 B
TypeScript
/**
* MSKCC DSM 2021, 2023
*/
import PropTypes from 'prop-types';
import { PropsWithChildren } from 'react';
interface ClassPrefixProps {
/**
* The value used to prefix the CSS selectors
* used by Carbon components.
*/
prefix: string;
}
declare function ClassPrefix({ children, prefix, }: PropsWithChildren<ClassPrefixProps>): JSX.Element;
declare namespace ClassPrefix {
var propTypes: {
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
/**
* The value used to prefix the CSS selectors used by Carbon components
*/
prefix: PropTypes.Validator<string>;
};
}
export { ClassPrefix };