mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
b03ca50ab4
* feat: color-picker show clear when value is not set * fix: lint issue * refactor: turn color defaultvalue to #1677ff * test: update snap * refactor: optimize demo type * chore: back prettier * chore: back prettier
7 lines
145 B
TypeScript
7 lines
145 B
TypeScript
import React from 'react';
|
|
import { ColorPicker } from 'antd';
|
|
|
|
const Demo = () => <ColorPicker defaultValue="#1677ff" />;
|
|
|
|
export default Demo;
|