mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
feat(reactstrap): Added range to list of allowable CustomInput types (#37723)
This commit is contained in:
+2
-1
@@ -6,7 +6,8 @@ export type CustomInputType =
|
||||
| 'file'
|
||||
| 'radio'
|
||||
| 'checkbox'
|
||||
| 'switch';
|
||||
| 'switch'
|
||||
| 'range';
|
||||
|
||||
export interface CustomInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
||||
[key: string]: any;
|
||||
|
||||
@@ -4325,6 +4325,10 @@ class Example119 extends React.Component<any, any> {
|
||||
<option>Value 5</option>
|
||||
</CustomInput>
|
||||
</FormGroup>
|
||||
<FormGroup>
|
||||
<Label for="exampleCustomRange">Custom Range</Label>
|
||||
<CustomInput type="range" id="exampleCustomRange" name="customRange" />
|
||||
</FormGroup>
|
||||
<FormGroup>
|
||||
<Label for="exampleCustomFileBrowser">File Browser</Label>
|
||||
<CustomInput type="file" id="exampleCustomFileBrowser" name="customFile" />
|
||||
|
||||
Reference in New Issue
Block a user