UNPKG

@vimeo/iris

Version:
16 lines (13 loc) 827 B
import { b as __rest, c as __assign } from '../../tslib.es6-7f0e734f.js'; import React__default from 'react'; import { Ribbon as Ribbon$1 } from './Ribbon.style.esm.js'; import { withIris } from '../../utils/HOCs/withIris.esm.js'; import 'styled-components'; import 'polished'; import '../../color/colors.esm.js'; var Ribbon = withIris(RibbonComponent); function RibbonComponent(_a) { var _b = _a.variant, variant = _b === void 0 ? 'rainbow' : _b, forwardRef = _a.forwardRef, _c = _a.animate, animate = _c === void 0 ? true : _c, _d = _a.size, size = _d === void 0 ? 'md' : _d, props = __rest(_a, ["variant", "forwardRef", "animate", "size"]); return (React__default.createElement(Ribbon$1, __assign({ animate: animate, size: size, variant: variant, ref: forwardRef }, props))); } export { Ribbon, RibbonComponent };