@lidofinance/toast
Version:
React component for Lido Finance projects based on React-Toastify (https://github.com/fkhadra/react-toastify). Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme)
39 lines (32 loc) • 1.84 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var _tslib = require('./_virtual/_tslib.js');
var loaders = require('@lidofinance/loaders');
var styled = require('styled-components');
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
var ToastPendingStyle = styled__default['default'].div.withConfig({
displayName: "ToastPendingStyles__ToastPendingStyle",
componentId: "sc-133vpey-0"
})(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
var ToastPendingTextStyle = styled__default['default'].div.withConfig({
displayName: "ToastPendingStyles__ToastPendingTextStyle",
componentId: "sc-133vpey-1"
})(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject([""], [""])));
var ToastPendingLoaderStyle = styled__default['default'](loaders.Loader).withConfig({
displayName: "ToastPendingStyles__ToastPendingLoaderStyle",
componentId: "sc-133vpey-2"
})(templateObject_3 || (templateObject_3 = _tslib.__makeTemplateObject(["\n margin: ", "px;\n margin-right: ", "px;\n svg {\n color: ", ";\n }\n"], ["\n margin: ", "px;\n margin-right: ", "px;\n svg {\n color: ", ";\n }\n"])), function (_a) {
var theme = _a.theme;
return -theme.spaceMap.xs;
}, function (_a) {
var theme = _a.theme;
return theme.spaceMap.md;
}, function (_a) {
var theme = _a.theme;
return theme.colors.accentContrast;
});
var templateObject_1, templateObject_2, templateObject_3;
exports.ToastPendingLoaderStyle = ToastPendingLoaderStyle;
exports.ToastPendingStyle = ToastPendingStyle;
exports.ToastPendingTextStyle = ToastPendingTextStyle;