@grupo-elo-editorial/shared-ui-react 1.2.14 → 1.2.16
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 +3 -1
- package/dist/index.js +276 -276
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -2,9 +2,11 @@ import { HTMLAttributes } from 'react';
|
|
|
2
2
|
export interface FooterProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
brand?: 'elo-editora' | 'perabook';
|
|
4
4
|
onNewsletterSubmit?: (email: string) => void;
|
|
5
|
+
/** Substitui o bloco de newsletter por conteúdo customizado. Quando omitido, exibe o NewsletterForm padrão. */
|
|
6
|
+
newsletterSlot?: React.ReactNode;
|
|
5
7
|
}
|
|
6
8
|
declare const Footer: {
|
|
7
|
-
({ brand, onNewsletterSubmit, className, ...props }: FooterProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
({ brand, onNewsletterSubmit, newsletterSlot, className, ...props }: FooterProps): import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
displayName: string;
|
|
9
11
|
};
|
|
10
12
|
export { Footer };
|