ant-design/components/color-picker/demo/disabled-alpha.tsx
红果汁 b03ca50ab4
feat: ColorPicker show clear when value is not set (#45993)
* 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
2023-12-13 19:37:28 +08:00

7 lines
159 B
TypeScript

import React from 'react';
import { ColorPicker } from 'antd';
const Demo = () => <ColorPicker defaultValue="#1677ff" disabledAlpha />;
export default Demo;