mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
58fdfc0f62
when allowClear is enable close #38068
879 B
879 B
order | title | debug | ||||
---|---|---|---|---|---|---|
98 |
|
true |
zh-CN
Buggy! 测试一些踩过的样式坑。
en-US
Buggy!
import { Input } from 'antd';
import React from 'react';
const { TextArea } = Input;
const App: React.FC = () => (
<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} />
<TextArea allowClear style={{ border: '2px solid #000' }} />
</div>
);
export default App;