mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 15:19:58 +08:00
19 lines
411 B
TypeScript
19 lines
411 B
TypeScript
import React from 'react';
|
|
import { Segmented } from 'antd';
|
|
|
|
export default () => (
|
|
<>
|
|
<Segmented options={['Map', 'Transit', 'Satellite']} disabled />
|
|
<br />
|
|
<Segmented
|
|
options={[
|
|
'Daily',
|
|
{ label: 'Weekly', value: 'Weekly', disabled: true },
|
|
'Monthly',
|
|
{ label: 'Quarterly', value: 'Quarterly', disabled: true },
|
|
'Yearly',
|
|
]}
|
|
/>
|
|
</>
|
|
);
|