UNPKG

@trussworks/react-uswds

Version:
12 lines (11 loc) 578 B
import { ReactNode, JSX } from 'react'; export type BannerHeaderProps = { isOpen: boolean; flagImg: ReactNode; innerDivProps?: JSX.IntrinsicElements['div']; headerText: ReactNode; headerTextProps?: JSX.IntrinsicElements['p']; headerActionText: ReactNode; headerActionProps?: JSX.IntrinsicElements['p']; } & JSX.IntrinsicElements['header']; export declare const BannerHeader: ({ children, isOpen, flagImg, innerDivProps, headerText, headerTextProps, headerActionText, headerActionProps, className, ...headerProps }: BannerHeaderProps) => JSX.Element;