@primer/react
Version:
An implementation of GitHub's Primer Design System using React
33 lines • 1.87 kB
TypeScript
import { DataTable } from './DataTable';
import { ErrorDialog } from './ErrorDialog';
import { TableHead, TableBody, TableRow, TableHeader, TableCell, TableCellPlaceholder, TableContainer, TableSubtitle, TableActions, TableDivider, TableSkeleton } from './Table';
import { Pagination } from './Pagination';
declare const Table: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & {
'aria-describedby'?: string;
'aria-labelledby'?: string;
gridTemplateColumns?: React.CSSProperties["gridTemplateColumns"];
cellPadding?: "condensed" | "normal" | "spacious";
} & import("react").RefAttributes<HTMLTableElement>> & {
Container: typeof TableContainer;
Title: import("react").ForwardRefExoticComponent<Omit<import("./Table").TableTitleProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
Subtitle: typeof TableSubtitle;
Actions: typeof TableActions;
Divider: typeof TableDivider;
Skeleton: typeof TableSkeleton;
Head: typeof TableHead;
Body: typeof TableBody;
Header: typeof TableHeader;
Row: typeof TableRow;
Cell: typeof TableCell;
CellPlaceholder: typeof TableCellPlaceholder;
Pagination: typeof Pagination;
ErrorDialog: typeof ErrorDialog;
};
export { DataTable, Table };
export type { DataTableProps } from './DataTable';
export type { TableProps, TableHeadProps, TableBodyProps, TableRowProps, TableHeaderProps, TableCellProps, TableContainerProps, TableTitleProps, TableSubtitleProps, TableActionsProps, TableSkeletonProps, } from './Table';
export { createColumnHelper } from './column';
export type { Column, CellAlignment, ColumnWidth } from './column';
export type { UniqueRow } from './row';
export type { ObjectPaths } from './utils';
//# sourceMappingURL=index.d.ts.map