mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-24 07:28:28 +08:00
4af818ca8e
* refactor(Pagination): rewrite with hook * Update Pagination.tsx * Update index.tsx
13 lines
303 B
TypeScript
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;
|