UNPKG

955 BTypeScriptView Raw
1import * as React from 'react';
2import { DataListWrapModifier } from './DataList';
3export interface DataListCellProps extends Omit<React.HTMLProps<HTMLDivElement>, 'width'> {
4 /** Content rendered inside the DataList cell */
5 children?: React.ReactNode;
6 /** Additional classes added to the DataList cell */
7 className?: string;
8 /** Width (from 1-5) to the DataList cell */
9 width?: 1 | 2 | 3 | 4 | 5;
10 /** Enables the body Content to fill the height of the card */
11 isFilled?: boolean;
12 /** Aligns the cell content to the right of its parent. */
13 alignRight?: boolean;
14 /** Set to true if the cell content is an Icon */
15 isIcon?: boolean;
16 /** Determines which wrapping modifier to apply to the DataListCell */
17 wrapModifier?: DataListWrapModifier | 'nowrap' | 'truncate' | 'breakWord';
18}
19export declare const DataListCell: React.FunctionComponent<DataListCellProps>;
20//# sourceMappingURL=DataListCell.d.ts.map
\No newline at end of file