2020-07-16 00:25:47 +08:00
|
|
|
---
|
|
|
|
order: 98
|
|
|
|
title:
|
|
|
|
zh-CN: Borderless Debug
|
|
|
|
en-US: Borderless Debug
|
|
|
|
debug: true
|
|
|
|
---
|
|
|
|
|
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
Buggy!
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
Buggy!
|
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
```tsx
|
|
|
|
import React from 'react';
|
2020-07-16 00:25:47 +08:00
|
|
|
import { Input } from 'antd';
|
|
|
|
|
|
|
|
const { TextArea } = Input;
|
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
const App: React.FC = () => (
|
2020-07-16 00:25:47 +08:00
|
|
|
<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} />
|
2022-04-03 23:27:45 +08:00
|
|
|
</div>
|
2020-07-16 00:25:47 +08:00
|
|
|
);
|
2022-05-19 09:46:26 +08:00
|
|
|
|
|
|
|
export default App;
|
2020-07-16 00:25:47 +08:00
|
|
|
```
|