mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-16 14:08:27 +02:00

* feat: add variant underlined in Input&&InputNumber&&Mentions Signed-off-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com> * fix: fix eslint Signed-off-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com> * fix: remove commented code Signed-off-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com> * fix: update underlined style Signed-off-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com> * fix:fix eslint problem Signed-off-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com> * feat: add Select variant underlined to #51379 * feat: add underlined demo to #51379 * feat: update snapshots to #51379 * feat: update doc to #51379 --------- Signed-off-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com> Co-authored-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com>
13 lines
486 B
TypeScript
13 lines
486 B
TypeScript
import React from 'react';
|
|
import { Flex, InputNumber } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex vertical gap={12}>
|
|
<InputNumber placeholder="Outlined" style={{ width: 200 }} />
|
|
<InputNumber placeholder="Filled" variant="filled" style={{ width: 200 }} />
|
|
<InputNumber placeholder="Borderless" variant="borderless" style={{ width: 200 }} />
|
|
<InputNumber placeholder="Underlined" variant="underlined" style={{ width: 200 }} />
|
|
</Flex>
|
|
);
|
|
|
|
export default App;
|