@arudovwen/form-builder-react 1.2.0 → 1.2.1
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/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "react-toastify/dist/ReactToastify.css";
|
|
2
|
-
export interface BuilderProps {
|
|
3
|
-
onSubmit
|
|
4
|
-
questionData?: any;
|
|
5
|
-
isReadOnly?: boolean;
|
|
6
|
-
config?: any;
|
|
7
|
-
title?: string;
|
|
8
|
-
loading?: boolean;
|
|
9
|
-
goBackUrl?: () => void;
|
|
10
|
-
onPublish
|
|
11
|
-
}
|
|
12
|
-
export default function Layout({ onSubmit, questionData, title, goBackUrl, loading, onPublish, }: BuilderProps): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import "react-toastify/dist/ReactToastify.css";
|
|
2
|
+
export interface BuilderProps {
|
|
3
|
+
onSubmit?: (e: any) => void;
|
|
4
|
+
questionData?: any;
|
|
5
|
+
isReadOnly?: boolean;
|
|
6
|
+
config?: any;
|
|
7
|
+
title?: string;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
goBackUrl?: () => void;
|
|
10
|
+
onPublish?: (e: any) => void;
|
|
11
|
+
}
|
|
12
|
+
export default function Layout({ onSubmit, questionData, title, goBackUrl, loading, onPublish, }: BuilderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export default function TopBar({ title, goBackUrl, onSubmit, onPublish, }: {
|
|
2
|
-
title: string;
|
|
3
|
-
goBackUrl: () => void;
|
|
4
|
-
onSubmit
|
|
5
|
-
onPublish
|
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export default function TopBar({ title, goBackUrl, onSubmit, onPublish, }: {
|
|
2
|
+
title: string;
|
|
3
|
+
goBackUrl: () => void;
|
|
4
|
+
onSubmit?: (e: any) => void;
|
|
5
|
+
onPublish?: (e: any) => void;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BuilderProps } from "../../components/editor/layout";
|
|
2
|
-
declare const HomePage: ({ onSubmit, questionData, isReadOnly, config, title, loading, goBackUrl, onPublish, }: BuilderProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export default HomePage;
|
|
1
|
+
import { BuilderProps } from "../../components/editor/layout";
|
|
2
|
+
declare const HomePage: ({ onSubmit, questionData, isReadOnly, config, title, loading, goBackUrl, onPublish, }: BuilderProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default HomePage;
|