VListItemAction.mjs 976 B

1234567891011121314151617181920212223242526272829
  1. import { createVNode as _createVNode, resolveDirective as _resolveDirective } from "vue";
  2. // Composables
  3. import { makeComponentProps } from "../../composables/component.mjs";
  4. import { makeTagProps } from "../../composables/tag.mjs"; // Utilities
  5. import { genericComponent, propsFactory, useRender } from "../../util/index.mjs";
  6. export const makeVListItemActionProps = propsFactory({
  7. start: Boolean,
  8. end: Boolean,
  9. ...makeComponentProps(),
  10. ...makeTagProps()
  11. }, 'VListItemAction');
  12. export const VListItemAction = genericComponent()({
  13. name: 'VListItemAction',
  14. props: makeVListItemActionProps(),
  15. setup(props, _ref) {
  16. let {
  17. slots
  18. } = _ref;
  19. useRender(() => _createVNode(props.tag, {
  20. "class": ['v-list-item-action', {
  21. 'v-list-item-action--start': props.start,
  22. 'v-list-item-action--end': props.end
  23. }, props.class],
  24. "style": props.style
  25. }, slots));
  26. return {};
  27. }
  28. });
  29. //# sourceMappingURL=VListItemAction.mjs.map