index.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. var $eQpDd$babelruntimehelpersextends = require("@babel/runtime/helpers/extends");
  2. var $eQpDd$react = require("react");
  3. var $eQpDd$radixuireactprimitive = require("@radix-ui/react-primitive");
  4. function $parcel$export(e, n, v, s) {
  5. Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
  6. }
  7. function $parcel$interopDefault(a) {
  8. return a && a.__esModule ? a.default : a;
  9. }
  10. $parcel$export(module.exports, "Arrow", () => $09f4ad68a9251bc3$export$21b07c8f274aebd5);
  11. $parcel$export(module.exports, "Root", () => $09f4ad68a9251bc3$export$be92b6f5f03c0fe9);
  12. /* -------------------------------------------------------------------------------------------------
  13. * Arrow
  14. * -----------------------------------------------------------------------------------------------*/ const $09f4ad68a9251bc3$var$NAME = 'Arrow';
  15. const $09f4ad68a9251bc3$export$21b07c8f274aebd5 = /*#__PURE__*/ $eQpDd$react.forwardRef((props, forwardedRef)=>{
  16. const { children: children , width: width = 10 , height: height = 5 , ...arrowProps } = props;
  17. return /*#__PURE__*/ $eQpDd$react.createElement($eQpDd$radixuireactprimitive.Primitive.svg, ($parcel$interopDefault($eQpDd$babelruntimehelpersextends))({}, arrowProps, {
  18. ref: forwardedRef,
  19. width: width,
  20. height: height,
  21. viewBox: "0 0 30 10",
  22. preserveAspectRatio: "none"
  23. }), props.asChild ? children : /*#__PURE__*/ $eQpDd$react.createElement("polygon", {
  24. points: "0,0 30,0 15,10"
  25. }));
  26. });
  27. /*#__PURE__*/ Object.assign($09f4ad68a9251bc3$export$21b07c8f274aebd5, {
  28. displayName: $09f4ad68a9251bc3$var$NAME
  29. });
  30. /* -----------------------------------------------------------------------------------------------*/ const $09f4ad68a9251bc3$export$be92b6f5f03c0fe9 = $09f4ad68a9251bc3$export$21b07c8f274aebd5;
  31. //# sourceMappingURL=index.js.map