ant-design/components/input/demo/borderless-debug.md
07akioni f937a7fffe
feat: Input & Input.TextArea support bordered prop (#25617)
* feat: Input bordered prop

* fix: snapshot

* fix: borderless Input background-color -> transparent
2020-07-16 00:25:47 +08:00

743 B

order title debug
98
zh-CN en-US
Borderless Debug Borderless Debug
true

zh-CN

Buggy!

en-US

Buggy!

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,
);