UNPKG

@chakra-ui/react

Version:

Responsive and accessible React UI components built with React and Emotion

16 lines (15 loc) 567 B
import { type HTMLChakraProps } from "../../styled-system"; export interface AbsoluteCenterProps extends HTMLChakraProps<"div"> { axis?: "horizontal" | "vertical" | "both"; } /** * React component used to horizontally and vertically center an element * relative to its parent dimensions. * * It uses the `position: absolute` strategy. * * @see Docs https://chakra-ui.com/center */ export declare const AbsoluteCenter: import("../..").ChakraComponent<"div", { axis?: import("../..").ConditionalValue<"both" | "horizontal" | "vertical" | undefined>; }>;