UNPKG

@visa/nova-react

Version:

Visa Product Design System Nova React library. Compatible with React ^19.

19 lines (18 loc) 787 B
import type { ComponentPropsWithRef, ElementType } from 'react'; import { type MessageProperties } from '../message'; export type BannerProperties<ET extends ElementType = 'div'> = { /** Message Type */ messageType?: MessageProperties['messageType']; } & Omit<MessageProperties, 'messageType'> & ComponentPropsWithRef<ET>; /** * Messages indicating the global status of an application or website. * @docs {@link https://design.visa.com/components/banner/?code_library=react | See Docs} * @related banner-close-button, message-content * @vgar TODO * @wcag TODO */ declare const Banner: { <ET extends ElementType = "div">({ className, ...remainingProps }: BannerProperties<ET>): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default Banner;