UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

39 lines (38 loc) 997 B
import { jsx as t } from "react/jsx-runtime"; function l({ direction: H, active: e, ...a }) { return /* @__PURE__ */ t( "svg", { ...a, className: `SRC-Sort-Icon-${e ? "Active" : "Inactive"} ${a.className ?? ""}`, width: "21", height: "17", viewBox: "0 0 21 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: H.toUpperCase() === "DESC" ? /* @__PURE__ */ t( "path", { className: "SRC-Sort-Path", d: "M8.5 9V7H16.5V9H8.5ZM8.5 15V13H12.5V15H8.5ZM8.5 3V1H20.5V3H8.5ZM4.5 13H7L3.5 16.5L0 13H2.5V0H4.5V13Z", fill: "#9E9E9E" } ) : /* @__PURE__ */ t( "path", { className: "SRC-Sort-Path", d: "M12.5 8L12.5 10L4.5 10V8H12.5ZM12.5 2V4H8.5V2H12.5ZM12.5 14V16H0.5V14L12.5 14ZM16.5 4H14L17.5 0.5L21 4H18.5V17H16.5V4Z", fill: "#9E9E9E" } ) } ); } export { l as default }; //# sourceMappingURL=Sort.js.map