@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
10 lines (9 loc) • 586 B
TypeScript
import type { PropsFor } from "../../types.js";
export type ContainerBreakpointProps = PropsFor<"div", {
/** Will only be displayed when closest `<Container>` is wider than `from` */
from?: "xs" | "small" | "medium" | "large" | "xl" | "xxl";
/** Will only be displayed when closest `<Container>` is narrower than `to` */
to?: "xs" | "small" | "medium" | "large" | "xl" | "xxl";
}>;
declare const ContainerBreakpoint: import("react").ForwardRefExoticComponent<ContainerBreakpointProps & import("react").RefAttributes<HTMLDivElement>>;
export default ContainerBreakpoint;