Checkbox: add jsdoc comment
This commit is contained in:
parent
c9ea4794ff
commit
1902e47412
|
@ -2,6 +2,7 @@ import React from 'react';
|
|||
|
||||
interface ICheckbox extends Pick<React.InputHTMLAttributes<HTMLInputElement>, 'disabled' | 'id' | 'name' | 'onChange' | 'checked' | 'required'> { }
|
||||
|
||||
/** A pretty checkbox input. */
|
||||
const Checkbox = React.forwardRef<HTMLInputElement, ICheckbox>((props, ref) => {
|
||||
return (
|
||||
<input
|
||||
|
|
Loading…
Reference in New Issue