box-ui-elements-mlh
Version:
63 lines • 2.69 kB
JavaScript
import * as React from 'react';
import RadarAnimation, { RadarAnimationPosition } from './RadarAnimation';
import Button from '../button';
import notes from './RadarAnimation.stories.md';
export var bottomLeft = function bottomLeft() {
return /*#__PURE__*/React.createElement(RadarAnimation, {
position: RadarAnimationPosition.BOTTOM_LEFT
}, /*#__PURE__*/React.createElement(Button, null, "Bottom Left"));
};
export var bottomCenter = function bottomCenter() {
return /*#__PURE__*/React.createElement(RadarAnimation, {
position: RadarAnimationPosition.BOTTOM_CENTER
}, /*#__PURE__*/React.createElement(Button, null, "Bottom Center"));
};
export var bottomRight = function bottomRight() {
return /*#__PURE__*/React.createElement(RadarAnimation, {
position: RadarAnimationPosition.BOTTOM_RIGHT
}, /*#__PURE__*/React.createElement(Button, null, "Bottom Right"));
};
export var middleLeft = function middleLeft() {
return /*#__PURE__*/React.createElement(RadarAnimation, {
position: RadarAnimationPosition.MIDDLE_LEFT
}, /*#__PURE__*/React.createElement(Button, null, "Middle Left"));
};
export var middleCenter = function middleCenter() {
return /*#__PURE__*/React.createElement(RadarAnimation, {
position: RadarAnimationPosition.MIDDLE_CENTER
}, /*#__PURE__*/React.createElement(Button, null, "Middle Center"));
};
export var middleRight = function middleRight() {
return /*#__PURE__*/React.createElement(RadarAnimation, {
position: RadarAnimationPosition.MIDDLE_RIGHT
}, /*#__PURE__*/React.createElement(Button, null, "Middle Right"));
};
export var topLeft = function topLeft() {
return /*#__PURE__*/React.createElement(RadarAnimation, {
position: RadarAnimationPosition.TOP_LEFT
}, /*#__PURE__*/React.createElement(Button, null, "Top Left"));
};
export var topCenter = function topCenter() {
return /*#__PURE__*/React.createElement(RadarAnimation, {
position: RadarAnimationPosition.TOP_CENTER
}, /*#__PURE__*/React.createElement(Button, null, "Top Center"));
};
export var topRight = function topRight() {
return /*#__PURE__*/React.createElement(RadarAnimation, {
position: RadarAnimationPosition.TOP_RIGHT
}, /*#__PURE__*/React.createElement(Button, null, "Top Right"));
};
export var withOffset = function withOffset() {
return /*#__PURE__*/React.createElement(RadarAnimation, {
position: RadarAnimationPosition.MIDDLE_LEFT,
offset: "0 20px"
}, /*#__PURE__*/React.createElement(Button, null, "Middle Left, with offset"));
};
export default {
title: 'Components|RadarAnimation',
component: RadarAnimation,
parameters: {
notes: notes
}
};
//# sourceMappingURL=RadarAnimation.stories.js.map