mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
2cdf586291
* chore: fix lint * chore: fix lint * test: fix 16 * fix: lint
49 lines
938 B
TypeScript
49 lines
938 B
TypeScript
import React from 'react';
|
|
import { ColorPicker } from 'antd';
|
|
|
|
export default () => (
|
|
<ColorPicker
|
|
presets={[
|
|
{
|
|
label: 'Recommended',
|
|
colors: [
|
|
'#000000',
|
|
'#000000E0',
|
|
'#000000A6',
|
|
'#00000073',
|
|
'#00000040',
|
|
'#00000026',
|
|
'#0000001A',
|
|
'#00000012',
|
|
'#0000000A',
|
|
'#00000005',
|
|
'#F5222D',
|
|
'#FA8C16',
|
|
'#FADB14',
|
|
'#8BBB11',
|
|
'#52C41A',
|
|
'#13A8A8',
|
|
'#1677FF',
|
|
'#2F54EB',
|
|
'#722ED1',
|
|
'#EB2F96',
|
|
'#F5222D4D',
|
|
'#FA8C164D',
|
|
'#FADB144D',
|
|
'#8BBB114D',
|
|
'#52C41A4D',
|
|
'#13A8A84D',
|
|
'#1677FF4D',
|
|
'#2F54EB4D',
|
|
'#722ED14D',
|
|
'#EB2F964D',
|
|
],
|
|
},
|
|
{
|
|
label: 'Recent',
|
|
colors: [],
|
|
},
|
|
]}
|
|
/>
|
|
);
|