"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useVStack = useVStack;
var _context = require("../context");
var _hStack = require("../h-stack");
/**
 * Internal dependencies
 */

function useVStack(props) {
  const {
    expanded = false,
    alignment = 'stretch',
    ...otherProps
  } = (0, _context.useContextSystem)(props, 'VStack');
  const hStackProps = (0, _hStack.useHStack)({
    direction: 'column',
    expanded,
    alignment,
    ...otherProps
  });
  return hStackProps;
}
//# sourceMappingURL=hook.js.map