@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) • 698 B
JavaScript
"use client";
import { createComponent } from "../../core/components/create-component.js";
import { hStackStyle } from "./h-stack.style.js";
import { Stack } from "./stack.js";
//#region src/components/stack/h-stack.tsx
const { PropsContext: HStackPropsContext, usePropsContext: useHStackPropsContext, withContext } = createComponent("stack--horizontal", hStackStyle);
/**
* `HStack` is a component that groups elements and provides space between child elements.
*
* @see https://yamada-ui.com/docs/components/stack
*/
const HStack = withContext(Stack)(void 0, { direction: "row" });
//#endregion
export { HStack, HStackPropsContext, useHStackPropsContext };
//# sourceMappingURL=h-stack.js.map