ReactStrap: CustomInput support for type='switch'

Supports bootstrap release 4.2.0
Supports reactstrap release 7.1.0
This commit is contained in:
Jason Evans
2019-01-16 14:59:12 -07:00
committed by GitHub
parent 77eb217d93
commit 464f7969ae
+2 -1
View File
@@ -5,7 +5,8 @@ export type CustomInputType =
| 'select'
| 'file'
| 'radio'
| 'checkbox';
| 'checkbox'
| 'switch';
export type CustomInputProps<T = {}> = React.InputHTMLAttributes<HTMLInputElement> & {
type: CustomInputType;