Cell.d.ts 790 B

12345678910111213141516171819202122
  1. import * as React from 'react';
  2. import type { SemanticName } from './DescriptionsContext';
  3. export interface CellProps {
  4. itemPrefixCls: string;
  5. span: number;
  6. className?: string;
  7. component: string;
  8. style?: React.CSSProperties;
  9. /** @deprecated Please use `styles={{ label: {} }}` instead */
  10. labelStyle?: React.CSSProperties;
  11. /** @deprecated Please use `styles={{ content: {} }}` instead */
  12. contentStyle?: React.CSSProperties;
  13. styles?: Partial<Record<SemanticName, React.CSSProperties>>;
  14. classNames?: Partial<Record<SemanticName, string>>;
  15. bordered?: boolean;
  16. label?: React.ReactNode;
  17. content?: React.ReactNode;
  18. colon?: boolean;
  19. type?: 'label' | 'content' | 'item';
  20. }
  21. declare const Cell: React.FC<CellProps>;
  22. export default Cell;