Files
AFFiNE-Mirror/packages/app/src/ui/table/TableCell.tsx
T
2022-12-28 17:31:01 +08:00

15 lines
384 B
TypeScript

import { HTMLAttributes, PropsWithChildren } from 'react';
import { TableCellProps } from './interface';
import { StyledTableCell } from './styles';
export const TableCell = ({
children,
...props
}: PropsWithChildren<
TableCellProps & HTMLAttributes<HTMLTableCellElement>
>) => {
return <StyledTableCell {...props}>{children}</StyledTableCell>;
};
export default TableCell;