@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
28 lines (27 loc) • 1.16 kB
JavaScript
"use client";
require("../../_virtual/_rolldown/runtime.cjs");
let react_jsx_runtime = require("react/jsx-runtime");
//#region packages/@mantine/core/src/components/NumberInput/NumberInputChevron.tsx
function NumberInputChevron({ direction, style, ...others }) {
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
style: {
width: "var(--ni-chevron-size)",
height: "var(--ni-chevron-size)",
transform: direction === "up" ? "rotate(180deg)" : void 0,
...style
},
viewBox: "0 0 15 15",
fill: "none",
xmlns: "http://www.w3.org/2000/svg",
...others,
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
d: "M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",
fill: "currentColor",
fillRule: "evenodd",
clipRule: "evenodd"
})
});
}
//#endregion
exports.NumberInputChevron = NumberInputChevron;
//# sourceMappingURL=NumberInputChevron.cjs.map