Files
Remington BreezeandGitHub 241596c14a feat: New components from Argo Rollouts UI in src/v2 directory (#100)
* feat: New components from Argo Rollotus UI in src/v2 directory

Signed-off-by: Remington Breeze <[email protected]>
2021-06-16 17:07:21 -07:00

21 lines
405 B
TypeScript

import * as React from 'react';
import {Alert} from './alert';
export default {
title: 'Components/Alert',
component: Alert,
argTypes: {
text: {control: {type: 'text'}},
style: {control: {disable: true}},
},
};
export const Primary = (args: any) => {
return <Alert {...args}>{args.text}</Alert>;
};
Primary.args = {
type: 'success',
text: 'Hello there!',
};