hplx-react-elements-dev 1.2.1 → 1.2.2
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.
- package/dist/esm/Badges/Badge.d.ts +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/types.d.ts +2 -1
- package/package.json +1 -1
package/dist/esm/types.d.ts
CHANGED
|
@@ -155,12 +155,13 @@ export interface TextAreaFieldProps {
|
|
|
155
155
|
type badgesizeType = "sm" | "md" | "lg";
|
|
156
156
|
type badgeiconType = "Left" | "Right" | "Only";
|
|
157
157
|
type badgecolourType = "Gray" | "Primary" | "Error" | "Warning" | "Success" | "BlueGray" | "Default" | "Blue" | "Indigo" | "Purple" | "Pink" | "Rose" | "Orange";
|
|
158
|
-
type iconFileType = "hx_close" | "avatar";
|
|
158
|
+
type iconFileType = "hx_close" | "avatar" | 'icon_src_url';
|
|
159
159
|
export interface BadgeType {
|
|
160
160
|
colour: badgecolourType;
|
|
161
161
|
size: badgesizeType;
|
|
162
162
|
icon?: badgeiconType;
|
|
163
163
|
iconFile?: iconFileType;
|
|
164
|
+
iconSrc?: string;
|
|
164
165
|
textField: string;
|
|
165
166
|
onClick?: () => void;
|
|
166
167
|
onLeftIconClick?: () => void;
|