@gechiui/components
Version:
UI components for GeChiUI.
23 lines (22 loc) • 510 B
JavaScript
/**
* Internal dependencies
*/
import { useContextSystem } from '../ui/context';
import { useHStack } from '../h-stack';
/**
*
* @param {import('../ui/context').GeChiUIComponentProps<import('./types').Props, 'div'>} props
*/
export function useVStack(props) {
const {
expanded = false,
...otherProps
} = useContextSystem(props, 'VStack');
const hStackProps = useHStack({
direction: 'column',
expanded,
...otherProps
});
return hStackProps;
}
//# sourceMappingURL=hook.js.map