@wordpress/components
Version:
UI components for WordPress.
15 lines (14 loc) • 428 B
JavaScript
import { useContextSystem } from "../context/index.mjs";
import { useHStack } from "../h-stack/index.mjs";
// packages/components/src/v-stack/hook.ts
function useVStack(props) {
const { expanded = false, alignment = "stretch", ...otherProps } = useContextSystem(props, "VStack");
return useHStack({
direction: "column",
expanded,
alignment,
...otherProps
});
}
export { useVStack };
//# sourceMappingURL=hook.mjs.map