mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 09:39:10 +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',
|
|
]}
|
|
/>
|
|
</>
|
|
);
|