UNPKG

@mskcc/carbon-react

Version:

Carbon react components for the MSKCC DSM

22 lines (21 loc) 731 B
/** * MSKCC DSM 2021, 2023 */ import React from 'react'; import { PolymorphicProps } from '../../types/common'; interface ColumnHangBaseProps { /** * Pass in content that will be rendered within the `ColumnHang` */ children?: React.ReactNode; /** * Specify a custom className to be applied to the `ColumnHang` */ className?: string; } export type ColumnHangProps<T extends React.ElementType> = PolymorphicProps<T, ColumnHangBaseProps>; export interface ColumnHangComponent { <T extends React.ElementType>(props: ColumnHangProps<T>, context?: any): React.ReactElement<any, any> | null; } declare const ColumnHangComponent: ColumnHangComponent; export { ColumnHangComponent as ColumnHang };