/
psukitp
/
plusminus
Обзор
Документация
Войти
/
psukitp
/
plusminus
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/components/table/types.ts
26 строк
478 B
psukitp
expenses features
25 май 2024, 18:21
25 май 2024, 18:21
3986ac9
Код
Авторство
О чём код?
import { ColumnType } from "antd/es/table" import { CSSProperties, Key } from "react" export type Record = { key: Key date: Date | string category: string amount: number } export interface ITableProps { rowKey: string records: any[] columns: ColumnType<any>[] style?: CSSProperties className?: string loading?: boolean // onRow?: GetComponentProps } export type RecordSum = { key: Key category: string amount: number }