UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

17 lines (16 loc) 621 B
import type { PropsFor } from "../../types.js"; export type BannerAlignment = BannerProps["align"]; export type BannerProps = PropsFor<"button" | "div", { /** Align banner left or right (default) */ align?: "left" | "right"; }>; /** * Banner component * * @deprecated since 5.0 - will be removed in next major. Maybe you're looking * for `<Message statusBar />` instead? * * @see https://bifrost.intility.com/react/message#status-bar */ declare const Banner: import("react").ForwardRefExoticComponent<BannerProps & import("react").RefAttributes<HTMLButtonElement | HTMLDivElement>>; export default Banner;