@grupo-elo-editorial/shared-ui-react 1.3.8 → 1.3.9
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/components/prd/Footer.d.ts +12 -1
- package/dist/index.js +556 -552
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
export interface OrgInfo {
|
|
3
|
+
email?: string;
|
|
4
|
+
phone?: string;
|
|
5
|
+
fullAddress?: string;
|
|
6
|
+
instagram?: string;
|
|
7
|
+
facebook?: string;
|
|
8
|
+
youtube?: string;
|
|
9
|
+
linkedin?: string;
|
|
10
|
+
}
|
|
2
11
|
export interface FooterProps extends HTMLAttributes<HTMLElement> {
|
|
3
12
|
brand?: 'elo-editora' | 'perabook';
|
|
4
13
|
onNewsletterSubmit?: (email: string) => void;
|
|
@@ -8,9 +17,11 @@ export interface FooterProps extends HTMLAttributes<HTMLElement> {
|
|
|
8
17
|
playStoreUrl?: string;
|
|
9
18
|
/** URL da App Store para download do app */
|
|
10
19
|
appStoreUrl?: string;
|
|
20
|
+
/** Dados da organização vindos do Firestore (sites/{brand}/org_grupo_elo/info). */
|
|
21
|
+
orgInfo?: OrgInfo;
|
|
11
22
|
}
|
|
12
23
|
declare const Footer: {
|
|
13
|
-
({ brand, onNewsletterSubmit, newsletterSlot, playStoreUrl, appStoreUrl, className, ...props }: FooterProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
({ brand, onNewsletterSubmit, newsletterSlot, playStoreUrl, appStoreUrl, orgInfo, className, ...props }: FooterProps): import("react/jsx-runtime").JSX.Element;
|
|
14
25
|
displayName: string;
|
|
15
26
|
};
|
|
16
27
|
export { Footer };
|