ant-design/components/input/demo/borderless-debug.md
MadCcc 6776bb8916
docs: demo support react18 (#34843)
* docs: update demo

* chore: add script

* test: fix demo test

* docs: convert demos

* chore: move script

* test: remove react-dom import

* chore: update deps

* docs: update riddle js

* test: fix image test

* docs: fix riddle demo
2022-04-03 23:27:45 +08:00

735 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;

export default () => (
  <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>
);