mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +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>
|
|
);
|