diff --git a/types/reactstrap/lib/CustomInput.d.ts b/types/reactstrap/lib/CustomInput.d.ts index 8527c29455..5d0af9f5c8 100644 --- a/types/reactstrap/lib/CustomInput.d.ts +++ b/types/reactstrap/lib/CustomInput.d.ts @@ -10,7 +10,7 @@ export type CustomInputType = export type CustomInputProps = React.InputHTMLAttributes & { type: CustomInputType; - label?: string; + label?: React.ReactNode; inline?: boolean; bsSize?: 'lg' | 'sm'; valid?: boolean; diff --git a/types/reactstrap/reactstrap-tests.tsx b/types/reactstrap/reactstrap-tests.tsx index f3678813de..67c24bce28 100644 --- a/types/reactstrap/reactstrap-tests.tsx +++ b/types/reactstrap/reactstrap-tests.tsx @@ -4112,7 +4112,8 @@ class Example119 extends React.Component {
- + Or this one} /> +
@@ -4120,7 +4121,8 @@ class Example119 extends React.Component {
- + Or this one} /> +
@@ -4128,6 +4130,7 @@ class Example119 extends React.Component {
+ and this one} inline />
@@ -4181,6 +4184,7 @@ class Example119 extends React.Component { + Yo, pick a file!} />