Download node_modules/@radix-ui/react-arrow/dist/index.mjs.map from metarm/QMetaRam: direct link, hf CLI and curl.
- Browser
- Download file 1.8 kB
-
https://huggingface.co/metarm/QMetaRam/resolve/main/node_modules/%40radix-ui/react-arrow/dist/index.mjs.map
- Command line
-
hf download hf://metarm/QMetaRam/node_modules/@radix-ui/react-arrow/dist/index.mjs.map
-
curl -L -o index.mjs.map https://huggingface.co/metarm/QMetaRam/resolve/main/node_modules/%40radix-ui/react-arrow/dist/index.mjs.map
1.8 kB
| { | |
| "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\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"] | |
| } | |