Toggle: fix JSDoc comment

This commit is contained in:
Alex Gleason
2023-03-31 11:18:45 -05:00
parent 79a8cd6b13
commit 91f92050dc

View File

@ -5,7 +5,7 @@ interface IToggle extends Pick<React.InputHTMLAttributes<HTMLInputElement>, 'id'
size?: 'sm' | 'md'
}
/** A glorified checkbox. Wrapper around react-toggle. */
/** A glorified checkbox. */
const Toggle: React.FC<IToggle> = ({ id, size = 'md', checked, onChange, required }) => {
const input = useRef<HTMLInputElement>(null);