UNPKG

@dotconnor/grommet

Version:

focus on the essential experience

24 lines 805 B
import React from 'react'; import { Grommet, Box, Grid } from 'grommet'; import { grommet } from '../../../themes'; export var Animation = function Animation() { return /*#__PURE__*/React.createElement(Grommet, { theme: grommet }, /*#__PURE__*/React.createElement(Box, { pad: "medium" }, /*#__PURE__*/React.createElement(Grid, { columns: "small", gap: "medium" }, ['fadeIn', 'fadeOut', 'jiggle', 'pulse', 'rotateRight', 'rotateLeft', 'slideUp', 'slideDown', 'slideLeft', 'slideRight', 'zoomIn', 'zoomOut'].map(function (animation) { return /*#__PURE__*/React.createElement(Box, { key: animation, pad: "large", background: "brand", animation: { type: animation, duration: 4000 }, align: "center" }, animation); })))); };