UNPKG

@coveord/plasma-mantine

Version:

A Plasma flavoured Mantine theme

33 lines (32 loc) 1.15 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "Search", { enumerable: true, get: function() { return Search; } }); var _extends = require("@swc/helpers/_/_extends"); var _object_destructuring_empty = require("@swc/helpers/_/_object_destructuring_empty"); var _object_spread = require("@swc/helpers/_/_object_spread"); var _jsxruntime = require("react/jsx-runtime"); var _plasmareacticons = require("@coveord/plasma-react-icons"); var _core = require("@mantine/core"); var SearchButton = function(param) { var handleSearch = param.handleSearch; return /*#__PURE__*/ (0, _jsxruntime.jsx)(_core.ActionIcon, { onClick: handleSearch, variant: "subtle", color: "gray", children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_plasmareacticons.SearchSize16Px, { height: 16 }) }); }; var Search = function(_param) { var params = _extends._({}, _object_destructuring_empty._(_param)); return /*#__PURE__*/ (0, _jsxruntime.jsx)(SearchButton, _object_spread._({}, params)); }; //# sourceMappingURL=Search.js.map