UNPKG

@eviljs/reactx

Version:
33 lines (32 loc) 1.57 kB
import type { ElementProps, Props } from '@eviljs/react/props'; export declare function Table(props: Props<TableProps>): React.JSX.Element; export declare function TableHead(props: Props<TableHeadProps>): React.JSX.Element; export declare function TableFoot(props: Props<TableFootProps>): React.JSX.Element; export declare function TableColumn(props: Props<TableColumnProps>): React.JSX.Element; export declare function TableBody(props: Props<TableBodyProps>): React.JSX.Element; export declare function TableRow(props: Props<TableRowProps>): React.JSX.Element; export declare function TableCell(props: Props<TableCellProps>): React.JSX.Element; export interface TableProps extends ElementProps<'div'> { footer?: undefined | React.ReactNode; header?: undefined | React.ReactNode; scrollerProps?: undefined | ElementProps<'div'>; tableFooter?: undefined | React.ReactNode; tableHeader?: undefined | React.ReactNode; tableProps?: undefined | ElementProps<'table'>; } export interface TableHeadProps extends ElementProps<'thead'> { rowProps?: undefined | ElementProps<'tr'>; } export interface TableFootProps extends ElementProps<'tfoot'> { rowProps?: undefined | ElementProps<'tr'>; } export interface TableColumnProps extends ElementProps<'th'> { innerProps?: undefined | ElementProps<'div'>; } export interface TableBodyProps extends ElementProps<'tbody'> { } export interface TableRowProps extends ElementProps<'tr'> { } export interface TableCellProps extends ElementProps<'th'> { innerProps?: undefined | ElementProps<'div'>; }