Skip to content

Commit

Permalink
fix: color input props are not forwarded
Browse files Browse the repository at this point in the history
  • Loading branch information
sapkra committed Apr 16, 2024
1 parent 8aeb3d9 commit f14fde4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/color-input/ColorInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { withFragment } from '../../withFragment';

export interface ColorInputProps extends InputProps {}

export const ColorInput = withFragment(forwardRef<HTMLInputElement>(({
export const ColorInput = withFragment(forwardRef<HTMLInputElement, ColorInputProps>(({
defaultValue,
label = 'Color',
errorMessage = "Please enter a valid color in hex format e.g. #f3f or #ff33ff",
Expand Down

0 comments on commit f14fde4

Please sign in to comment.