@rws-aoa/react-library
Version:
RWS AOA Design System
20 lines • 791 B
TypeScript
import { PropsWithChildren } from 'react';
import { AoaSectionHeaderProps } from '../../atoms/section-header/SectionHeader';
export interface AoaContentPageProps {
/**
* Data-qa tag for E2E test purposes
*/
readonly 'data-qa'?: string;
readonly sectionHeaderProps: AoaSectionHeaderProps;
}
/**
* Constructs a basic page with a section header using pre-defined Rijks styling
*
* @param props - Props to pass to the content page
* @example
* ```jsx
* <AoaContentPage sectionHeaderProps={{ title: "This is a title" }}>I am a child!</AoaContentPage>
* ```
*/
export declare function AoaContentPage({ children, sectionHeaderProps, ...props }: PropsWithChildren<AoaContentPageProps>): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ContentPage.d.ts.map