@material-ui/core
Version:
React components that implement Google's Material Design.
22 lines (14 loc) • 568 B
TypeScript
import * as React from 'react';
import { StandardProps } from '..';
export interface TableProps extends StandardProps<TableBaseProps, TableClassKey> {
component?: React.ElementType<TableBaseProps>;
padding?: Padding;
size?: Size;
stickyHeader?: boolean;
}
export type TableBaseProps = React.TableHTMLAttributes<HTMLTableElement>;
export type Padding = 'default' | 'checkbox' | 'none';
export type Size = 'small' | 'medium';
export type TableClassKey = 'root' | 'stickyHeader';
declare const Table: React.ComponentType<TableProps>;
export default Table;