@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
44 lines (43 loc) • 1.36 kB
TypeScript
import { Direction, ThemeProps } from "../../core/system/index.types.js";
import { Component, HTMLStyledProps } from "../../core/components/index.types.js";
import "../../core/index.js";
import { ZStackStyle } from "./z-stack.style.js";
import "../../index.js";
import * as react2663 from "react";
//#region src/components/stack/z-stack.d.ts
interface ZStackProps extends Omit<HTMLStyledProps, "direction">, ThemeProps<ZStackStyle> {
/**
* Stack in the specified direction.
*
* @default 'end'
*/
direction?: Direction;
/**
* If `true`, calculate the `width` and `height` of the element and assign container.
*
* @default true
*/
fit?: boolean;
/**
* If `true`, reverse direction.
*
* @default false
*/
reverse?: boolean;
/**
* If set the stack will start from the given index.
*
* @default 0
*/
startIndex?: number;
}
declare const ZStackPropsContext: react2663.Context<Partial<ZStackProps> | undefined>, useZStackPropsContext: () => Partial<ZStackProps> | undefined;
/**
* `ZStack` is a component that groups elements and provides space between child elements.
*
* @see https://yamada-ui.com/docs/components/stack
*/
declare const ZStack: Component<"div", ZStackProps>;
//#endregion
export { ZStack, ZStackProps, ZStackPropsContext, useZStackPropsContext };
//# sourceMappingURL=z-stack.d.ts.map