diff --git a/components/pagination/Pagination.tsx b/components/pagination/Pagination.tsx index 1eadf67ec..cc7b5f670 100644 --- a/components/pagination/Pagination.tsx +++ b/components/pagination/Pagination.tsx @@ -1,3 +1,9 @@ +import { defineComponent, inject } from 'vue'; +import LeftOutlined from '@ant-design/icons-vue/LeftOutlined'; +import RightOutlined from '@ant-design/icons-vue/RightOutlined'; +import DoubleLeftOutlined from '@ant-design/icons-vue/DoubleLeftOutlined'; +import DoubleRightOutlined from '@ant-design/icons-vue/DoubleRightOutlined'; +import { tuple } from '../_util/type'; import PropTypes, { withUndefined } from '../_util/vue-types'; import VcSelect from '../select'; import MiniSelect from './MiniSelect'; @@ -5,14 +11,8 @@ import LocaleReceiver from '../locale-provider/LocaleReceiver'; import { getOptionProps } from '../_util/props-util'; import VcPagination from '../vc-pagination'; import enUS from '../vc-pagination/locale/en_US'; -import LeftOutlined from '@ant-design/icons-vue/LeftOutlined'; -import RightOutlined from '@ant-design/icons-vue/RightOutlined'; -import DoubleLeftOutlined from '@ant-design/icons-vue/DoubleLeftOutlined'; -import DoubleRightOutlined from '@ant-design/icons-vue/DoubleRightOutlined'; import { defaultConfigProvider } from '../config-provider'; -import { defineComponent, inject } from 'vue'; import classNames from '../_util/classNames'; -import { tuple } from '../_util/type'; export const PaginationProps = () => ({ total: PropTypes.number, @@ -129,7 +129,7 @@ export default defineComponent({ componentName="Pagination" defaultLocale={enUS} children={this.renderPagination} - > + /> ); }, }); diff --git a/components/vc-select/index.ts b/components/vc-select/index.ts index 650dce1c6..023af73f7 100644 --- a/components/vc-select/index.ts +++ b/components/vc-select/index.ts @@ -3,7 +3,7 @@ import Option from './Option'; import OptGroup from './OptGroup'; import { BaseProps } from './generate'; -export type SelectProps = ExportedSelectProps; +export type SelectProps = ExportedSelectProps; export { Option, OptGroup, BaseProps }; export default Select;