@cimpress/react-components
Version:
React components to support the MCP styleguide
36 lines • 1.27 kB
JavaScript
import * as React from 'react';
import { Robot } from '../Robot';
const meta = {
title: 'Components/Robot',
component: Robot,
};
export default meta;
export const Default = {
args: {},
};
export const StatusVariants = {
render() {
return (React.createElement("div", null,
React.createElement(Robot, { status: "info" }),
React.createElement(Robot, { status: "success" }),
React.createElement(Robot, { status: "danger" }),
React.createElement(Robot, { status: "warning" })));
},
};
export const SizeVariants = {
render() {
return (React.createElement("div", null,
React.createElement(Robot, { status: "info", size: "sm" }),
React.createElement(Robot, { status: "info", size: "lg" })));
},
};
export const AlternateVariants = {
render() {
return (React.createElement("div", null,
React.createElement(Robot, { status: "info", alternate: true }),
React.createElement(Robot, { status: "success", alternate: true }),
React.createElement(Robot, { status: "danger", alternate: true }),
React.createElement(Robot, { status: "warning", alternate: true })));
},
};
//# sourceMappingURL=Robot.stories.js.map