@ambuj.bhaskar/react-component-library 0.31.5 → 0.32.0
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/assets/index.css +1 -1
- package/dist/index.cjs +53 -53
- package/dist/index.d.ts +2 -1
- package/dist/index.js +8905 -8767
- package/dist/index.umd.js +50 -50
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -791,7 +791,7 @@ declare type FormConfigBranch = {
|
|
|
791
791
|
};
|
|
792
792
|
|
|
793
793
|
declare type FormConfigLeaf = FormConfigLevel & {
|
|
794
|
-
inputType: "text" | "slider" | "range-slider" | "multiselect" | "select" | "checkbox";
|
|
794
|
+
inputType: "text" | "text-array" | "slider" | "range-slider" | "multiselect" | "select" | "checkbox";
|
|
795
795
|
width?: string;
|
|
796
796
|
required?: boolean;
|
|
797
797
|
placeholder?: string;
|
|
@@ -844,6 +844,7 @@ export declare type FormGroupProps = {
|
|
|
844
844
|
edit?: boolean;
|
|
845
845
|
onAddClick?: (route: string) => void;
|
|
846
846
|
onDeleteClick?: (route: string) => void;
|
|
847
|
+
customButtons?: (route: string) => ReactNode | ReactNode[];
|
|
847
848
|
onChange?: (data: any) => void;
|
|
848
849
|
showErrors?: boolean;
|
|
849
850
|
};
|