UNPKG

@chayns-components/swipeable-wrapper

Version:

A set of beautiful React components for developing your own applications with chayns.

18 lines (17 loc) 751 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StyledSwipeableWrapperContent = exports.StyledMotionSwipeableWrapper = void 0; var _react = require("motion/react"); var _styledComponents = _interopRequireDefault(require("styled-components")); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } const StyledMotionSwipeableWrapper = exports.StyledMotionSwipeableWrapper = (0, _styledComponents.default)(_react.motion.div)` position: relative; touch-action: pan-y; user-select: none; `; const StyledSwipeableWrapperContent = exports.StyledSwipeableWrapperContent = _styledComponents.default.div` width: 100%; `; //# sourceMappingURL=SwipeableWrapper.styles.js.map