@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
19 lines (15 loc) • 699 B
JavaScript
"use client";
import { createComponent } from "../../core/components/create-component.js";
import { vStackStyle } from "./v-stack.style.js";
import { Stack } from "./stack.js";
//#region src/components/stack/v-stack.tsx
const { PropsContext: VStackPropsContext, usePropsContext: useVStackPropsContext, withContext } = createComponent("stack--vertical", vStackStyle);
/**
* `VStack` is a component that groups elements and provides space between child elements.
*
* @see https://yamada-ui.com/docs/components/stack
*/
const VStack = withContext(Stack)(void 0, { direction: "column" });
//#endregion
export { VStack, VStackPropsContext, useVStackPropsContext };
//# sourceMappingURL=v-stack.js.map