Files
AFFiNE-Mirror/packages/component/src/ui/table/interface.ts
2023-05-15 08:50:43 -07:00

11 lines
304 B
TypeScript

import type { CSSProperties, HTMLAttributes, PropsWithChildren } from 'react';
export type TableCellProps = {
align?: 'left' | 'right' | 'center';
ellipsis?: boolean;
proportion?: number;
active?: boolean;
style?: CSSProperties;
} & PropsWithChildren &
HTMLAttributes<HTMLTableCellElement>;