Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 397 Bytes

basic.md

File metadata and controls

32 lines (23 loc) · 397 Bytes
order title
0
zh-CN en-US
基本
Basic

zh-CN

最简单的用法。

en-US

The most basic usage.

import { Segmented } from 'antd';

const Demo = () => <Segmented options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />;

export default Demo;
.code-box-demo {
  overflow-x: auto;
}

.code-box-demo .ant-segmented {
  margin-bottom: 10px;
}