Skip to content

Commit

Permalink
fix: omit size from checkbox input html attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
benjitrosch committed Mar 12, 2022
1 parent 8244d83 commit b3147bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Checkbox/Checkbox.tsx
Expand Up @@ -4,7 +4,7 @@ import { twMerge } from 'tailwind-merge'

import { IComponentBaseProps, ComponentSize } from '../types'

export type CheckboxProps = React.InputHTMLAttributes<HTMLInputElement> &
export type CheckboxProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> &
IComponentBaseProps & {
color?: 'primary' | 'secondary' | 'accent'
size?: ComponentSize
Expand Down

0 comments on commit b3147bd

Please sign in to comment.