@payfit/unity-components
Version:
37 lines (36 loc) • 2.39 kB
TypeScript
import { VariantProps } from '@payfit/unity-themes';
import { PropsWithChildren } from 'react';
export declare const funnelPageFooter: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:px-300 uy:md:px-400", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "uy:px-300 uy:md:px-400", unknown, unknown, undefined>>;
export type FunnelPageFooterProps = PropsWithChildren<VariantProps<typeof funnelPageFooter>>;
/**
* The `FunnelPageFooter` component provides the footer section of a funnel page.
* It creates a flexible footer container with responsive layout that adapts to different screen sizes.
* @param {FunnelPageFooterProps} props - The props for the `FunnelPageFooter` component
* @example
* ```tsx
* import { FunnelPageFooter } from '@payfit/unity-components'
*
* function Example() {
* return (
* <FunnelPageFooter>
* <Button>Previous</Button>
* <Button>Next</Button>
* </FunnelPageFooter>
* )
* }
* ```
* @remarks
* - Automatically receives accessibility attributes from FunnelLayout context
* - Provides consistent padding across different screen sizes
* - Uses semantic footer element for proper document structure
* - Automatically sets DataDog's session replay privacy to `data-dd-privacy="allow"`
* @see {@link FunnelPageFooterProps} for all available props
* @see Source code in {@link https://github.com/PayFit/hr-apps/blob/master/libs/shared/unity/components/src/components/funnel-layout/parts GitHub}
* @see Design specs {@link https://www.figma.com/design/poaMyU7abAgL9VRhx4ygyy/Unity-DS-%3E-Components-Library?node-id=10802-11500&m=dev Figma}
* @see Design docs in {@link https://www.payfit.design/24f360409/p/88f9fc-funnel/b/24ca6f Payfit.design}
* @see Developer docs in {@link https://unity-components.payfit.io/?path=/docs/layout-funnellayout-funnelpage-funnelpagefooter--docs unity-components.payfit.io}
*/
declare const FunnelPageFooter: import('react').ForwardRefExoticComponent<VariantProps<import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:px-300 uy:md:px-400", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "uy:px-300 uy:md:px-400", unknown, unknown, undefined>>> & {
children?: import('react').ReactNode | undefined;
} & import('react').RefAttributes<HTMLElement>>;
export { FunnelPageFooter };