{ "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;\ntype PrimitiveSvgProps = React.ComponentPropsWithoutRef;\ninterface ArrowProps extends PrimitiveSvgProps {}\n\nconst Arrow = /* @__PURE__ */ React.forwardRef(\n function Arrow(props, forwardedRef) {\n const { children, width = 10, height = 5, ...arrowProps } = props;\n return (\n \n {/* We use their children if they're slotting to replace the whole svg */}\n {props.asChild ? children : }\n \n );\n },\n);\n\n/* -----------------------------------------------------------------------------------------------*/\n\nconst Root = Arrow;\n\nexport {\n Arrow,\n //\n 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;AAIA,IAAM,OAAO;", "names": ["Arrow"] }