@devtron-labs/devtron-fe-common-lib 0.0.46 → 0.0.47
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
|
@@ -26662,7 +26662,7 @@ function CustomInput(_a) {
|
|
|
26662
26662
|
return jsxRuntime.jsx("span", __assign({ className: "".concat(isRequiredField ? 'dc__required-field' : '') }, { children: label }));
|
|
26663
26663
|
}
|
|
26664
26664
|
else {
|
|
26665
|
-
return label
|
|
26665
|
+
return label;
|
|
26666
26666
|
}
|
|
26667
26667
|
};
|
|
26668
26668
|
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
|