@ambuj.bhaskar/react-component-library 0.23.1-alpha → 0.24.3-alpha
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/index.cjs +43 -43
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1870 -1873
- package/dist/index.umd.js +43 -43
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -980,9 +980,9 @@ export declare interface LoggedUser {
|
|
|
980
980
|
userObj: LoggedInUser;
|
|
981
981
|
}
|
|
982
982
|
|
|
983
|
-
export declare const LoginPage:
|
|
983
|
+
export declare const LoginPage: <TFormValues extends Record<string, any> = any>({ width, height, elementSize, className, bannerImage, showAwirosLogo, title, description, headerImage, headerImageMargin, formConfig, formSchema, formSubmitDisclaimer, formSubmitButtonText, formSubmitLoading, onSubmit, footerItems, footerImage, footerImageMargin, }: LoginPageProps<TFormValues>) => JSX_2.Element;
|
|
984
984
|
|
|
985
|
-
export declare type LoginPageProps = {
|
|
985
|
+
export declare type LoginPageProps<TFormValues extends Record<string, any> = any> = {
|
|
986
986
|
className?: string;
|
|
987
987
|
width?: string;
|
|
988
988
|
height?: string;
|
|
@@ -1006,11 +1006,11 @@ export declare type LoginPageProps = {
|
|
|
1006
1006
|
required?: boolean;
|
|
1007
1007
|
};
|
|
1008
1008
|
};
|
|
1009
|
-
formSchema?: Resolver;
|
|
1010
1009
|
formSubmitDisclaimer?: string;
|
|
1011
1010
|
formSubmitButtonText?: string;
|
|
1012
1011
|
formSubmitLoading?: boolean;
|
|
1013
|
-
|
|
1012
|
+
formSchema: Resolver<TFormValues>;
|
|
1013
|
+
onSubmit?: (values: TFormValues) => void;
|
|
1014
1014
|
footerItems?: React.ReactNode;
|
|
1015
1015
|
footerImage?: string;
|
|
1016
1016
|
footerImageMargin?: CSSstring;
|