@pantheon-systems/pds-toolkit-react 1.9.0 → 1.9.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.
|
@@ -2,6 +2,10 @@ import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
|
2
2
|
import { ContainerWidth } from '../../../libs/types/custom-types';
|
|
3
3
|
import './site-footer.css';
|
|
4
4
|
interface SiteFooterProps extends ComponentPropsWithoutRef<'footer'> {
|
|
5
|
+
/**
|
|
6
|
+
* HTML element to render. Use 'footer' for standalone usage or 'div' when nested inside another footer landmark.
|
|
7
|
+
*/
|
|
8
|
+
as?: 'footer' | 'div';
|
|
5
9
|
/**
|
|
6
10
|
* Footer content.
|
|
7
11
|
*/
|
|
@@ -26,5 +30,5 @@ interface SiteFooterProps extends ComponentPropsWithoutRef<'footer'> {
|
|
|
26
30
|
/**
|
|
27
31
|
* SiteFooter UI component
|
|
28
32
|
*/
|
|
29
|
-
export declare const SiteFooter: ({ children, className, containerWidth, hasTopBorder, legalLinks, ...props }: SiteFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare const SiteFooter: ({ as: Element, children, className, containerWidth, hasTopBorder, legalLinks, ...props }: SiteFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
34
|
export {};
|