a92cbc41336aa68c3c2a87796f72f781d6774ec349dfcd539db21a413f057bc99b28e3ac47e8d30b0049899bd68ff9f6641b698fd9e866e8f40c28b8a7718f 668 B

123456789101112131415161718192021222324252627
  1. import { createVNode, mergeProps } from 'vue';
  2. import { ElIcon } from '../../../icon/index.mjs';
  3. import { ArrowRight } from '@element-plus/icons-vue';
  4. const ExpandIcon = (props) => {
  5. const {
  6. expanded,
  7. expandable,
  8. onExpand,
  9. style,
  10. size
  11. } = props;
  12. const expandIconProps = {
  13. onClick: expandable ? () => onExpand(!expanded) : void 0,
  14. class: props.class
  15. };
  16. return createVNode(ElIcon, mergeProps(expandIconProps, {
  17. "size": size,
  18. "style": style
  19. }), {
  20. default: () => [createVNode(ArrowRight, null, null)]
  21. });
  22. };
  23. var ExpandIcon$1 = ExpandIcon;
  24. export { ExpandIcon$1 as default };
  25. //# sourceMappingURL=expand-icon.mjs.map