Download node_modules/@radix-ui/react-arrow/dist/index.mjs from metarm/QMetaRam: direct link, hf CLI and curl.
- Browser
- Download file 884 Bytes
-
https://huggingface.co/metarm/QMetaRam/resolve/main/node_modules/%40radix-ui/react-arrow/dist/index.mjs
- Command line
-
hf download hf://metarm/QMetaRam/node_modules/@radix-ui/react-arrow/dist/index.mjs
-
curl -L -o index.mjs https://huggingface.co/metarm/QMetaRam/resolve/main/node_modules/%40radix-ui/react-arrow/dist/index.mjs
884 Bytes
| var __defProp = Object.defineProperty; | |
| var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); | |
| // src/arrow.tsx | |
| import * as React from "react"; | |
| import { Primitive } from "@radix-ui/react-primitive"; | |
| import { jsx } from "react/jsx-runtime"; | |
| var Arrow = /* @__PURE__ */ React.forwardRef( | |
| /* @__PURE__ */ __name(function Arrow2(props, forwardedRef) { | |
| const { children, width = 10, height = 5, ...arrowProps } = props; | |
| return /* @__PURE__ */ jsx( | |
| Primitive.svg, | |
| { | |
| ...arrowProps, | |
| ref: forwardedRef, | |
| width, | |
| height, | |
| viewBox: "0 0 30 10", | |
| preserveAspectRatio: "none", | |
| children: props.asChild ? children : /* @__PURE__ */ jsx("polygon", { points: "0,0 30,0 15,10" }) | |
| } | |
| ); | |
| }, "Arrow") | |
| ); | |
| var Root = Arrow; | |
| export { | |
| Arrow, | |
| Root | |
| }; | |
| //# sourceMappingURL=index.mjs.map | |