66620eacfa6c842882321d2359383b5b6da18ddf4710d44da243281b9c69378559f55c2e61e9447c58f3a1015039b484d3b8b37e0f6cc278eda8caeb79a454 745 B

12345678910111213141516171819202122232425262728293031
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. var vue = require('vue');
  4. var index = require('../../../icon/index.js');
  5. var iconsVue = require('@element-plus/icons-vue');
  6. const ExpandIcon = (props) => {
  7. const {
  8. expanded,
  9. expandable,
  10. onExpand,
  11. style,
  12. size
  13. } = props;
  14. const expandIconProps = {
  15. onClick: expandable ? () => onExpand(!expanded) : void 0,
  16. class: props.class
  17. };
  18. return vue.createVNode(index.ElIcon, vue.mergeProps(expandIconProps, {
  19. "size": size,
  20. "style": style
  21. }), {
  22. default: () => [vue.createVNode(iconsVue.ArrowRight, null, null)]
  23. });
  24. };
  25. var ExpandIcon$1 = ExpandIcon;
  26. exports["default"] = ExpandIcon$1;
  27. //# sourceMappingURL=expand-icon.js.map