welcome-ui
Version:
Customizable design system with react, typescript, tailwindcss and ariakit.
27 lines (26 loc) • 1.21 kB
TypeScript
import { default as tableStyles } from './table.module.scss';
import { TableProps, TableTrProps } from './types';
export { tableStyles as tableClasses };
export declare const TableComponent: import('react').ForwardRefExoticComponent<Omit<TableProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
export declare const Table: import('react').ForwardRefExoticComponent<Omit<TableProps, "ref"> & import('react').RefAttributes<HTMLDivElement>> & {
Tbody: {
(props: React.HTMLAttributes<HTMLTableSectionElement>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
Td: {
(props: React.TdHTMLAttributes<HTMLTableCellElement>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
Th: {
(props: React.ThHTMLAttributes<HTMLTableCellElement>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
Thead: {
(props: React.HTMLAttributes<HTMLTableSectionElement>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
Tr: {
({ className, onClick, ...rest }: TableTrProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
};