index.js 554 B

1234567891011121314151617181920
  1. import _mergeJSXProps from "@vue/babel-helper-vue-jsx-merge-props";
  2. import { use } from '../utils';
  3. import { inherit } from '../utils/functional'; // Types
  4. var _use = use('goods-action'),
  5. sfc = _use[0],
  6. bem = _use[1];
  7. function GoodsAction(h, props, slots, ctx) {
  8. return h("div", _mergeJSXProps([{
  9. "class": bem({
  10. 'safe-area-inset-bottom': props.safeAreaInsetBottom
  11. })
  12. }, inherit(ctx, true)]), [slots["default"] && slots["default"]()]);
  13. }
  14. GoodsAction.props = {
  15. safeAreaInsetBottom: Boolean
  16. };
  17. export default sfc(GoodsAction);