@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
20 lines • 955 B
TypeScript
import * as React from 'react';
import { DataListWrapModifier } from './DataList';
export interface DataListCellProps extends Omit<React.HTMLProps<HTMLDivElement>, 'width'> {
/** Content rendered inside the DataList cell */
children?: React.ReactNode;
/** Additional classes added to the DataList cell */
className?: string;
/** Width (from 1-5) to the DataList cell */
width?: 1 | 2 | 3 | 4 | 5;
/** Enables the body Content to fill the height of the card */
isFilled?: boolean;
/** Aligns the cell content to the right of its parent. */
alignRight?: boolean;
/** Set to true if the cell content is an Icon */
isIcon?: boolean;
/** Determines which wrapping modifier to apply to the DataListCell */
wrapModifier?: DataListWrapModifier | 'nowrap' | 'truncate' | 'breakWord';
}
export declare const DataListCell: React.FunctionComponent<DataListCellProps>;
//# sourceMappingURL=DataListCell.d.ts.map