mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
3515a40706
* refactor: ConfigProvider theme support component alias * test: fix test case * chore: code clean * test: fix lint * test: fix tsx-demo
614 B
614 B
order | title | debug | ||||
---|---|---|---|---|---|---|
999 |
|
true |
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>
);