mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 22:53:42 +08:00
31 lines
529 B
TypeScript
31 lines
529 B
TypeScript
import React from 'react';
|
|
import { ConfigProvider, InputNumber, Space } from 'antd';
|
|
|
|
export default () => (
|
|
<ConfigProvider
|
|
theme={{
|
|
components: {
|
|
InputNumber: {
|
|
handleWidth: 50,
|
|
},
|
|
},
|
|
}}
|
|
>
|
|
<Space>
|
|
<InputNumber />
|
|
|
|
<ConfigProvider
|
|
theme={{
|
|
components: {
|
|
InputNumber: {
|
|
handleWidth: 25,
|
|
},
|
|
},
|
|
}}
|
|
>
|
|
<InputNumber />
|
|
</ConfigProvider>
|
|
</Space>
|
|
</ConfigProvider>
|
|
);
|