re-export antd Table types
This commit is contained in:
parent
a2471a0ca8
commit
4c9e107c54
@ -1,6 +1,6 @@
|
||||
/* eslint-disable canonical/sort-keys */
|
||||
import type { Risk } from './types';
|
||||
import type { ColumnsType } from 'antd/lib/table';
|
||||
import type { ColumnsType } from 'ui/elements/table';
|
||||
|
||||
export const columns: ColumnsType<Risk> = [
|
||||
{
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
import { buildOptionComponent, buildValueComponent } from './builders';
|
||||
import type * as Insurance from './types';
|
||||
import { MAX_INSURANCE } from '@/constants/values';
|
||||
import type { ColumnsType } from 'antd/lib/table';
|
||||
import { parser } from 'tools/number';
|
||||
import { InputNumber, Select } from 'ui/elements';
|
||||
import { createFormatter } from 'ui/elements/InputNumber';
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/* eslint-disable canonical/sort-keys */
|
||||
import type { ResultPayment } from '@/stores/results/types';
|
||||
import type { ColumnsType } from 'antd/lib/table';
|
||||
import type { ColumnsType } from 'ui/elements/table';
|
||||
|
||||
export const columns: ColumnsType<ResultPayment> = [
|
||||
{
|
||||
|
||||
2
packages/ui/elements/Table.ts
Normal file
2
packages/ui/elements/Table.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export { Table as default } from 'antd';
|
||||
export type { ColumnsType } from 'antd/es/table';
|
||||
Loading…
x
Reference in New Issue
Block a user