@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
14 lines (13 loc) • 553 B
TypeScript
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?
*/
declare const Banner: import("react").ForwardRefExoticComponent<BannerProps & import("react").RefAttributes<HTMLButtonElement | HTMLDivElement>>;
export default Banner;