From 7afa2627eb278b4885500fed46cf75bbf387532a Mon Sep 17 00:00:00 2001 From: kyletsang <6854874+kyletsang@users.noreply.github.com> Date: Mon, 19 Aug 2019 10:33:10 -0700 Subject: [PATCH] feat(reactstrap): Added range to list of allowable CustomInput types (#37723) --- types/reactstrap/lib/CustomInput.d.ts | 3 ++- types/reactstrap/reactstrap-tests.tsx | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/types/reactstrap/lib/CustomInput.d.ts b/types/reactstrap/lib/CustomInput.d.ts index 4545f2d126..a452c19329 100644 --- a/types/reactstrap/lib/CustomInput.d.ts +++ b/types/reactstrap/lib/CustomInput.d.ts @@ -6,7 +6,8 @@ export type CustomInputType = | 'file' | 'radio' | 'checkbox' - | 'switch'; + | 'switch' + | 'range'; export interface CustomInputProps extends React.InputHTMLAttributes { [key: string]: any; diff --git a/types/reactstrap/reactstrap-tests.tsx b/types/reactstrap/reactstrap-tests.tsx index 0a42cf30d9..71cb1e17f5 100644 --- a/types/reactstrap/reactstrap-tests.tsx +++ b/types/reactstrap/reactstrap-tests.tsx @@ -4325,6 +4325,10 @@ class Example119 extends React.Component { + + + +