ant-design/components/date-picker/demo/bordered.md
2020-06-06 14:01:29 +08:00

724 B

order title
23
zh-CN en-US
无边框 Bordered-less

zh-CN

无边框样式。

en-US

Bordered-less style component.

import { DatePicker } from 'antd';

const { RangePicker } = DatePicker;

ReactDOM.render(
  <>
    <DatePicker bordered={false} />
    <br />
    <DatePicker picker="week" bordered={false} />
    <br />
    <DatePicker picker="month" bordered={false} />
    <br />
    <DatePicker picker="year" bordered={false} />
    <br />
    <RangePicker bordered={false} />
    <br />
    <RangePicker picker="week" bordered={false} />
    <br />
    <RangePicker picker="month" bordered={false} />
    <br />
    <RangePicker picker="year" bordered={false} />
  </>,
  mountNode,
);