UNPKG

hh-ui-components

Version:
10 lines 795 B
import React from "react"; import { icons } from "../../../icons/icons"; export var OpenMenuButton = function (_a) { var setDrawer = _a.setDrawer; return (React.createElement("div", { className: " flex items-center justify-start md:flex lg:hidden 2xl:hidden" }, React.createElement("button", { className: "dr", "aria-label": "Open Menu", onClick: function () { return setDrawer(true); } }, React.createElement("svg", { className: "h-[1.5rem] w-[1.5rem] cursor-pointer md:h-[3.125vw] md:w-[3.125vw] 2xl:h-[6.400vw] 2xl:w-[6.400vw] stroke-graphite", xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", "aria-label": "Menu", role: "img" }, icons.menu)))); }; export default OpenMenuButton; //# sourceMappingURL=OpenMenuButton.js.map