VBannerActions.mjs 958 B

1234567891011121314151617181920212223242526272829303132
  1. import { createVNode as _createVNode } from "vue";
  2. // Composables
  3. import { makeComponentProps } from "../../composables/component.mjs";
  4. import { provideDefaults } from "../../composables/defaults.mjs"; // Utilities
  5. import { genericComponent, propsFactory, useRender } from "../../util/index.mjs";
  6. export const makeVBannerActionsProps = propsFactory({
  7. color: String,
  8. density: String,
  9. ...makeComponentProps()
  10. }, 'VBannerActions');
  11. export const VBannerActions = genericComponent()({
  12. name: 'VBannerActions',
  13. props: makeVBannerActionsProps(),
  14. setup(props, _ref) {
  15. let {
  16. slots
  17. } = _ref;
  18. provideDefaults({
  19. VBtn: {
  20. color: props.color,
  21. density: props.density,
  22. variant: 'text'
  23. }
  24. });
  25. useRender(() => _createVNode("div", {
  26. "class": ['v-banner-actions', props.class],
  27. "style": props.style
  28. }, [slots.default?.()]));
  29. return {};
  30. }
  31. });
  32. //# sourceMappingURL=VBannerActions.mjs.map