UNPKG

@carton-org/react-neumorphism

Version:

A React component library implementing the neumorphism design style

14 lines 593 B
import { Sizes } from '../../constants'; type TableProps<T> = { inset?: boolean; size?: Sizes; columns: Array<keyof T>; data: T[]; templates?: Partial<Record<keyof T, (row: T, rowIdx: number, colIdx: number) => React.ReactNode>>; tableStyle?: React.CSSProperties; tableColumnLabelStyle?: React.CSSProperties; tableRowValueStyle?: React.CSSProperties; } & Partial<React.HTMLAttributes<HTMLTableElement>>; declare const TableWithTheme: <T>(props: Omit<TableProps<T>, "theme">) => React.ReactNode; export default TableWithTheme; //# sourceMappingURL=Table.d.ts.map