mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-13 16:16:46 +08:00
17 lines
382 B
TypeScript
17 lines
382 B
TypeScript
import type { ReactNode } from 'react';
|
|
import { BasicTable } from './basic-table';
|
|
import type { BasicTableProps } from './basic-table';
|
|
|
|
interface TableProps extends BasicTableProps {
|
|
addon?: ReactNode;
|
|
}
|
|
|
|
export const Table = ({ addon, ...props }: TableProps) => {
|
|
return (
|
|
<div>
|
|
{addon}
|
|
<BasicTable {...props} />
|
|
</div>
|
|
);
|
|
};
|