@carbon/react
Version:
React components for the Carbon Design System
23 lines (18 loc) • 634 B
JavaScript
/**
* Copyright IBM Corp. 2016, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
;
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
var React = require('react');
var Stack = require('./Stack.js');
const VStack = /*#__PURE__*/React.forwardRef((props, ref) => {
return /*#__PURE__*/React.createElement(Stack.Stack, _rollupPluginBabelHelpers.extends({}, props, {
ref: ref,
orientation: "vertical"
}));
});
VStack.propTypes = Stack.Stack.propTypes;
exports.VStack = VStack;