UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

43 lines (42 loc) 1.28 kB
export type * from "./Box.js"; export type * from "./Box.Arrow.js"; /** * Styleable wrapper element * * @see https://bifrost.intility.com/react/box * * @example * <Box padding border radius> * Box with padding, border, and radius * </Box> * * @example * <Box background="warning">Yellow background</Box> * * @example * <Box theme="purple" background="theme"> * Purple-themed box with theme background * </Box> */ declare const _default: import("react").ForwardRefExoticComponent<import("./Box.js").BoxProps & import("react").RefAttributes<HTMLDivElement>> & { /** * Right-arrow icon for use in links (animates on hover) * * @see https://bifrost.intility.com/react/box#boxarrow * * @example * <a href="/path/to/page" className="bf-neutral-link"> * Link text * <Box.Arrow /> * </a> * * @example * // use `external` for arrow pointing up and to the right * <a href="https://www.imdb.com/title/tt3501632/" className="bf-neutral-link"> * Thor Ragnarok * <Box.Arrow external /> * </a> */ Arrow: import("react").ForwardRefExoticComponent<Omit<import("./Box.Arrow.js").BoxArrowProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>; }; export default _default;