UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

38 lines (37 loc) 1.22 kB
export type * from "./Container.js"; export type * from "./Container.Breakpoint.js"; /** * Create a * [container](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment) * for `<Container.Breakpoint>` * * - xs = 300px * - small = 600px * - medium = 960px * - large = 1280px * - xl = 1600px * - xxl = 1920px * * @see https://bifrost.intility.com/react/container * * @example * <Container> * <Container.Breakpoint to="small">up to 600px</Container.Breakpoint> * <Container.Breakpoint from="small">600px and wider</Container.Breakpoint> * </Container> */ declare const _default: import("react").ForwardRefExoticComponent<import("./Container.js").ContainerProps & import("react").RefAttributes<HTMLDivElement>> & { /** * Element that will only be visible if closest `<Container>` is wider than * `from` and/or narrower than `to`. * * - xs = 300px * - small = 600px * - medium = 960px * - large = 1280px * - xl = 1600px * - xxl = 1920px */ Breakpoint: import("react").ForwardRefExoticComponent<import("./Container.Breakpoint.js").ContainerBreakpointProps & import("react").RefAttributes<HTMLDivElement>>; }; export default _default;