Browse Source
* feat: InputNumber support purePanel * test: Update snapshot * chore: simplify codepull/37695/head
二货爱吃白萝卜
2 years ago
committed by
GitHub
5 changed files with 220 additions and 4 deletions
@ -0,0 +1,29 @@ |
|||
--- |
|||
order: 99 |
|||
title: |
|||
zh-CN: _InternalPanelDoNotUseOrYouWillBeFired |
|||
en-US: _InternalPanelDoNotUseOrYouWillBeFired |
|||
debug: true |
|||
--- |
|||
|
|||
## zh-CN |
|||
|
|||
调试用组件,请勿直接使用。 |
|||
|
|||
## en-US |
|||
|
|||
Debug usage. Do not use in your production. |
|||
|
|||
```tsx |
|||
import React from 'react'; |
|||
import { InputNumber } from 'antd'; |
|||
|
|||
/** Test usage. Do not use in your production. */ |
|||
const { _InternalPanelDoNotUseOrYouWillBeFired: InternalInputNumber } = InputNumber; |
|||
|
|||
export default () => ( |
|||
<div style={{ display: 'flex', flexDirection: 'column', rowGap: 16 }}> |
|||
<InternalInputNumber style={{ width: '100%' }} /> |
|||
</div> |
|||
); |
|||
``` |
Loading…
Reference in new issue