Guaxu Docs
    Preparing search index...

    Type Alias BannerProps

    Props for the Banner component.

    type BannerProps = {
        children: ReactNode;
        heading?: string;
        link?: BannerLink;
        variant: BannerVariants;
    }
    Index

    Properties

    children: ReactNode

    Main content of the banner. Use BannerText for standard text.

    heading?: string

    Optional heading text displayed above the banner content.

    link?: BannerLink

    Optional link to display at the bottom of the banner content.

    variant: BannerVariants

    Visual variant/color of the banner - determines icon and styling.