UNPKG

@carbon/react

Version:

React components for the Carbon Design System

24 lines (19 loc) 744 B
/** * 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. */ 'use strict'; var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js'); var React = require('react'); var Stack = require('./Stack.js'); // eslint-disable-next-line react/display-name -- https://github.com/carbon-design-system/carbon/issues/20452 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;