mayak-common-library 0.0.226 → 0.0.228
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.d.mts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +6 -6
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -967,9 +967,8 @@ interface IHeaderProps {
|
|
|
967
967
|
homePage: string;
|
|
968
968
|
whatsUp?: boolean;
|
|
969
969
|
defLocale: string;
|
|
970
|
-
actionComponent?: ReactNode;
|
|
971
970
|
}
|
|
972
|
-
declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale,
|
|
971
|
+
declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale, children, }: IHeaderProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
973
972
|
|
|
974
973
|
interface HeaderContactButtonProps {
|
|
975
974
|
onClick: MouseEventHandler<HTMLButtonElement> | undefined;
|
|
@@ -999,7 +998,7 @@ interface IFooter2 {
|
|
|
999
998
|
}
|
|
1000
999
|
declare function Footer2({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, additionalMenu, }: IFooter2): react_jsx_runtime.JSX.Element;
|
|
1001
1000
|
|
|
1002
|
-
declare function HeaderMob({ menuItems, mainPhone, locales, site, homePage, }: IHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1001
|
+
declare function HeaderMob({ menuItems, mainPhone, locales, site, homePage, children, }: IHeaderProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
1003
1002
|
|
|
1004
1003
|
interface IMainBoxProps {
|
|
1005
1004
|
children: ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -967,9 +967,8 @@ interface IHeaderProps {
|
|
|
967
967
|
homePage: string;
|
|
968
968
|
whatsUp?: boolean;
|
|
969
969
|
defLocale: string;
|
|
970
|
-
actionComponent?: ReactNode;
|
|
971
970
|
}
|
|
972
|
-
declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale,
|
|
971
|
+
declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale, children, }: IHeaderProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
973
972
|
|
|
974
973
|
interface HeaderContactButtonProps {
|
|
975
974
|
onClick: MouseEventHandler<HTMLButtonElement> | undefined;
|
|
@@ -999,7 +998,7 @@ interface IFooter2 {
|
|
|
999
998
|
}
|
|
1000
999
|
declare function Footer2({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, additionalMenu, }: IFooter2): react_jsx_runtime.JSX.Element;
|
|
1001
1000
|
|
|
1002
|
-
declare function HeaderMob({ menuItems, mainPhone, locales, site, homePage, }: IHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1001
|
+
declare function HeaderMob({ menuItems, mainPhone, locales, site, homePage, children, }: IHeaderProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
1003
1002
|
|
|
1004
1003
|
interface IMainBoxProps {
|
|
1005
1004
|
children: ReactNode;
|