mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-17 02:18:07 +08:00
24 lines
305 B
Markdown
24 lines
305 B
Markdown
---
|
|
order: 6
|
|
title:
|
|
zh-CN: 无边框
|
|
en-US: Borderless
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
没有边框。
|
|
|
|
## en-US
|
|
|
|
No border.
|
|
|
|
```tsx
|
|
import { InputNumber } from 'antd';
|
|
import React from 'react';
|
|
|
|
const App: React.FC = () => <InputNumber min={1} max={10} defaultValue={3} bordered={false} />;
|
|
|
|
export default App;
|
|
```
|