ant-design/components/input-number/demo/debug-token.tsx

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>
);