{
  "version": 3,
  "sources": ["../src/arrow.tsx"],
  "sourcesContent": ["import * as React from 'react';\nimport { Primitive } from '@radix-ui/react-primitive';\n\n/* -------------------------------------------------------------------------------------------------\n * Arrow\n * -----------------------------------------------------------------------------------------------*/\n\ntype ArrowElement = React.ComponentRef<typeof Primitive.svg>;\ntype PrimitiveSvgProps = React.ComponentPropsWithoutRef<typeof Primitive.svg>;\ninterface ArrowProps extends PrimitiveSvgProps {}\n\nconst Arrow = /* @__PURE__ */ React.forwardRef<ArrowElement, ArrowProps>(\n  function Arrow(props, forwardedRef) {\n    const { children, width = 10, height = 5, ...arrowProps } = props;\n    return (\n      <Primitive.svg\n        {...arrowProps}\n        ref={forwardedRef}\n        width={width}\n        height={height}\n        viewBox=\"0 0 30 10\"\n        preserveAspectRatio=\"none\"\n      >\n        {/* We use their children if they're slotting to replace the whole svg */}\n        {props.asChild ? children : <polygon points=\"0,0 30,0 15,10\" />}\n      </Primitive.svg>\n    );\n  },\n);\n\n/* -----------------------------------------------------------------------------------------------*/\n\nexport {\n  Arrow,\n  //\n  Arrow as Root,\n};\nexport type { ArrowProps };\n"],
  "mappings": ";;;;AAAA,YAAY,WAAW;AACvB,SAAS,iBAAiB;AAuBU;AAbpC,IAAM,QAAwB,gBAAM;AAAA,EAClC,gCAASA,OAAM,OAAO,cAAc;AAClC,UAAM,EAAE,UAAU,QAAQ,IAAI,SAAS,GAAG,GAAG,WAAW,IAAI;AAC5D,WACE;AAAA,MAAC,UAAU;AAAA,MAAV;AAAA,QACE,GAAG;AAAA,QACJ,KAAK;AAAA,QACL;AAAA,QACA;AAAA,QACA,SAAQ;AAAA,QACR,qBAAoB;AAAA,QAGnB,gBAAM,UAAU,WAAW,oBAAC,aAAQ,QAAO,kBAAiB;AAAA;AAAA,IAC/D;AAAA,EAEJ,GAfA;AAgBF;",
  "names": ["Arrow"]
}
