mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-04 08:59:40 +08:00
f937a7fffe
* feat: Input bordered prop * fix: snapshot * fix: borderless Input background-color -> transparent
35 lines
743 B
Markdown
35 lines
743 B
Markdown
---
|
|
order: 98
|
|
title:
|
|
zh-CN: Borderless Debug
|
|
en-US: Borderless Debug
|
|
debug: true
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
Buggy!
|
|
|
|
## en-US
|
|
|
|
Buggy!
|
|
|
|
```jsx
|
|
import { Input } from 'antd';
|
|
|
|
const { TextArea } = Input;
|
|
|
|
ReactDOM.render(
|
|
<div style={{ backgroundColor: 'rgba(0, 0, 128, .2)' }}>
|
|
<Input placeholder="Unbordered" bordered={false} />
|
|
<Input placeholder="Unbordered" bordered={false} size="large" />
|
|
<TextArea placeholder="Unbordered" bordered={false} />
|
|
<TextArea placeholder="Unbordered" bordered={false} allowClear />
|
|
<Input placeholder="Unbordered" bordered={false} allowClear />
|
|
<Input prefix="¥" suffix="RMB" bordered={false} />
|
|
<Input prefix="¥" suffix="RMB" disabled bordered={false} />
|
|
</div>,
|
|
mountNode,
|
|
);
|
|
```
|