UNPKG

virtual360-react

Version:

Virtual360 is an amazing pure React component which stitches together set of images into a smooth 360-degree image. This component is perfect for developers who want to provide ultimate and immersive user experience.

24 lines (17 loc) 1.26 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StyledImage360 = undefined; var _templateObject = _taggedTemplateLiteral(["\n width: ", ";\n height: ", ";\n border: ", ";\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n -o-user-select: none;\n user-select: none;\n"], ["\n width: ", ";\n height: ", ";\n border: ", ";\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n -o-user-select: none;\n user-select: none;\n"]); var _styledComponents = require("styled-components"); var _styledComponents2 = _interopRequireDefault(_styledComponents); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } var StyledImage360 = exports.StyledImage360 = _styledComponents2.default.div(_templateObject, function (props) { return props.width ? props.width : "auto"; }, function (props) { return props.height ? props.height : "auto"; }, function (props) { return props.border ? props.border : ""; });