ant-design/components/pagination/MiniSelect.tsx
Tom Xu 4af818ca8e
refactor(Pagination): rewrite with hook (#24302)
* refactor(Pagination): rewrite with hook

* Update Pagination.tsx

* Update index.tsx
2020-05-24 23:13:32 +08:00

13 lines
303 B
TypeScript

import * as React from 'react';
import Select from '../select';
interface MiniSelectInterface extends React.FC<any> {
Option: typeof Select.Option;
}
const MiniSelect: MiniSelectInterface = props => <Select size="small" {...props} />;
MiniSelect.Option = Select.Option;
export default MiniSelect;