Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix onChange parameter name
  • Loading branch information
sarayourfriend committed Aug 10, 2021
commit 70eb0fd1cc8feb24c2919c39c135d3386242523e
2 changes: 1 addition & 1 deletion packages/components/src/ui/color-picker/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import type { ColorType } from './types';
interface ColorPickerProps {
enableAlpha?: boolean;
color?: ColorFormats.HSL | ColorFormats.HSLA;
onChange?: ( hexColor: ColorFormats.HSL | ColorFormats.HSLA ) => void;
onChange?: ( color: ColorFormats.HSL | ColorFormats.HSLA ) => void;
defaultValue?: ColorFormats.HSL | ColorFormats.HSLA;
copyFormat?: ColorType;
}
Expand Down