mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 09:36:17 +08:00
15 lines
384 B
TypeScript
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;
|