@devtron-labs/devtron-fe-common-lib 0.0.47-beta-3 → 0.0.47-beta-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,7 @@ export interface CustomInputProps {
|
|
|
5
5
|
onChange: (e: any) => void;
|
|
6
6
|
onFocus?: (e: any) => void;
|
|
7
7
|
autoComplete?: string;
|
|
8
|
-
label?: string |
|
|
8
|
+
label?: string | React.ReactNode;
|
|
9
9
|
labelClassName?: string;
|
|
10
10
|
type?: HTMLInputTypeAttribute;
|
|
11
11
|
disabled?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -28286,7 +28286,7 @@ function CustomInput(_a) {
|
|
|
28286
28286
|
return jsxRuntime.jsx("span", __assign({ className: "".concat(isRequiredField ? 'dc__required-field' : '') }, { children: label }));
|
|
28287
28287
|
}
|
|
28288
28288
|
else {
|
|
28289
|
-
return label
|
|
28289
|
+
return label;
|
|
28290
28290
|
}
|
|
28291
28291
|
};
|
|
28292
28292
|
var renderInputLabel = function () {
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export interface CustomInputProps {
|
|
|
6
6
|
onChange: (e: any) => void
|
|
7
7
|
onFocus?: (e: any) => void
|
|
8
8
|
autoComplete?: string
|
|
9
|
-
label?: string |
|
|
9
|
+
label?: string | React.ReactNode
|
|
10
10
|
labelClassName?: string
|
|
11
11
|
type?: HTMLInputTypeAttribute
|
|
12
12
|
disabled?: boolean
|