UNPKG

1.45 kBJavaScriptView Raw
1'use strict';
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6
7var _templateObject = _taggedTemplateLiteral(['\n 0% {\n transform: scale(0.75);\n opacity: 0.75;\n } 40% {\n transform: scale(1.25);\n opacity: 1;\n } 100% {\n transform: scale(0.75);\n opacity: 0.75;\n }\n'], ['\n 0% {\n transform: scale(0.75);\n opacity: 0.75;\n } 40% {\n transform: scale(1.25);\n opacity: 1;\n } 100% {\n transform: scale(0.75);\n opacity: 0.75;\n }\n']),
8 _templateObject2 = _taggedTemplateLiteral(['\n width: 40px;\n height: 40px;\n margin: 100px auto;\n\n border-radius: 100%;\n background: ', ';\n animation: ', ' 2s infinite ease-out;\n'], ['\n width: 40px;\n height: 40px;\n margin: 100px auto;\n\n border-radius: 100%;\n background: ', ';\n animation: ', ' 2s infinite ease-out;\n']);
9
10var _styledComponents = require('styled-components');
11
12var _styledComponents2 = _interopRequireDefault(_styledComponents);
13
14function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
16function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
17
18var animation = (0, _styledComponents.keyframes)(_templateObject);
19
20exports.default = _styledComponents2.default.div(_templateObject2, function (props) {
21 return props.theme.base;
22}, animation);
\No newline at end of file