-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
Forward checkbox refs
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
import React, { FC } from 'react'; | ||
interface AllCheckerCheckboxProps extends React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> { | ||
checked?: never; | ||
} | ||
declare const AllCheckerCheckbox: FC<AllCheckerCheckboxProps>; | ||
import React, { ForwardRefExoticComponent, RefAttributes } from 'react'; | ||
declare type AllCheckerCheckboxProps = Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & RefAttributes<HTMLInputElement>, 'checked'>; | ||
declare const AllCheckerCheckbox: ForwardRefExoticComponent<AllCheckerCheckboxProps>; | ||
export default AllCheckerCheckbox; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import React, { FC } from 'react'; | ||
declare type CheckboxProps = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>; | ||
declare const Checkbox: FC<CheckboxProps>; | ||
import React, { ForwardRefExoticComponent, RefAttributes } from 'react'; | ||
declare type CheckboxProps = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & RefAttributes<HTMLInputElement>; | ||
declare const Checkbox: ForwardRefExoticComponent<CheckboxProps>; | ||
export default Checkbox; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
import React, { FC } from 'react'; | ||
interface NoneCheckerCheckboxProps extends React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> { | ||
checked?: never; | ||
} | ||
declare const NoneCheckerCheckbox: FC<NoneCheckerCheckboxProps>; | ||
import React, { ForwardRefExoticComponent, RefAttributes } from 'react'; | ||
declare type NoneCheckerCheckboxProps = Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & RefAttributes<HTMLInputElement>, 'checked'>; | ||
declare const NoneCheckerCheckbox: ForwardRefExoticComponent<NoneCheckerCheckboxProps>; | ||
export default NoneCheckerCheckbox; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.