@taeopia/react-table
Version:
This is a table library for use in React.
38 lines (30 loc) • 756 B
text/typescript
import type { CSSProperties } from "react";
import type { ClassName } from "@/types";
export interface FallbackComponent {
fallbackClass?: ClassName;
fallbackStyle?: CSSProperties;
}
export interface TableComponent {
tableClass?: ClassName;
tableStyle?: CSSProperties;
}
export interface ThComponent {
thStyle?: CSSProperties;
thClass?: ClassName;
}
export interface TrComponent {
trStyle?: CSSProperties;
trClass?: ClassName;
}
export interface TdComponent {
tdStyle?: CSSProperties;
tdClass?: ClassName;
}
export interface TheadComponent {
theadStyle?: CSSProperties;
theadClass?: ClassName;
}
export interface TbodyComponent {
tbodyStyle?: CSSProperties;
tbodyClass?: ClassName;
}