UNPKG

567 BTypeScriptView Raw
1import { type HTMLChakraProps } from "../../styled-system";
2export interface AbsoluteCenterProps extends HTMLChakraProps<"div"> {
3 axis?: "horizontal" | "vertical" | "both";
4}
5/**
6 * React component used to horizontally and vertically center an element
7 * relative to its parent dimensions.
8 *
9 * It uses the `position: absolute` strategy.
10 *
11 * @see Docs https://chakra-ui.com/center
12 */
13export declare const AbsoluteCenter: import("../..").ChakraComponent<"div", {
14 axis?: import("../..").ConditionalValue<"both" | "horizontal" | "vertical" | undefined>;
15}>;