UNPKG

infinity-forge

Version:
14 lines 1.39 kB
"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Button = void 0; var styled_components_1 = __importDefault(require("styled-components")); exports.Button = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n a,\n button {\n cursor: ", ";\n\n i {\n svg {\n width: 100%;\n height: auto;\n }\n }\n }\n\n a:hover,\n button:hover {\n transition: all 0.2s ease-in-out;\n }\n\n button:disabled {\n cursor: not-allowed;\n }\n\n svg {\n width: 30px;\n }\n"], ["\n a,\n button {\n cursor: ", ";\n\n i {\n svg {\n width: 100%;\n height: auto;\n }\n }\n }\n\n a:hover,\n button:hover {\n transition: all 0.2s ease-in-out;\n }\n\n button:disabled {\n cursor: not-allowed;\n }\n\n svg {\n width: 30px;\n }\n"])), function (props) { return (props.$loading ? 'not-allowed' : 'pointer'); }); var templateObject_1; //# sourceMappingURL=styles.js.map