Revert "re-export antd Table types"

This reverts commit 4c9e107c548a3bb3f0b6ff8d10465c9c0234c853.
This commit is contained in:
vchikalkin 2023-05-11 11:35:43 +03:00
parent fe2d163cd0
commit 6932d510eb
5 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,6 @@
import type { RowSchema } from '@/config/schema/elt';
import type { ColumnsType } from 'antd/lib/table';
import { CloseOutlined, LoadingOutlined } from 'ui/elements/icons';
import type { ColumnsType } from 'ui/elements/table';
import { Flex } from 'ui/grid';
import type { z } from 'zod';

View File

@ -1,6 +1,6 @@
/* eslint-disable canonical/sort-keys */
import type { Risk } from './types';
import type { ColumnsType } from 'ui/elements/table';
import type { ColumnsType } from 'antd/lib/table';
export const columns: ColumnsType<Risk> = [
{

View File

@ -4,12 +4,12 @@ import { buildOptionComponent, buildValueComponent } from './builders';
import type * as Insurance from './types';
import { MAX_INSURANCE } from '@/constants/values';
import { useStore } from '@/stores/hooks';
import type { ColumnsType } from 'antd/lib/table';
import { observer } from 'mobx-react-lite';
import { parser } from 'tools/number';
import { InputNumber, Select } from 'ui/elements';
import { CheckOutlined } from 'ui/elements/icons';
import { createFormatter } from 'ui/elements/InputNumber';
import type { ColumnsType } from 'ui/elements/Table';
export const columns: ColumnsType<Insurance.RowValues> = [
{

View File

@ -1,6 +1,6 @@
/* eslint-disable canonical/sort-keys */
import type { ResultPayment } from '@/stores/results/types';
import type { ColumnsType } from 'ui/elements/table';
import type { ColumnsType } from 'antd/lib/table';
export const columns: ColumnsType<ResultPayment> = [
{

View File

@ -1,2 +0,0 @@
export { Table as default } from 'antd';
export type { ColumnsType } from 'antd/es/table';