You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
440 B
18 lines
440 B
2 years ago
|
import React from 'react';
|
||
|
import { UserOutlined } from '@ant-design/icons';
|
||
|
import { InputNumber } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<InputNumber prefix="¥" style={{ width: '100%' }} />
|
||
|
<br />
|
||
|
<br />
|
||
|
<InputNumber addonBefore={<UserOutlined />} prefix="¥" style={{ width: '100%' }} />
|
||
|
<br />
|
||
|
<br />
|
||
|
<InputNumber prefix="¥" disabled style={{ width: '100%' }} />
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|