import {
addErrorMessage,
addMessage,
addSuccessMessage,
} from 'sentry/actionCreators/indicator';
import Button from 'sentry/components/button';
import IndicatorContainer, {Indicators} from 'sentry/components/indicators';
import IndicatorStore from 'sentry/stores/indicatorStore';
export default {
title: 'Components/Toast Indicators',
};
export const Static = ({type}) => {
return (
);
};
Static.storyName = 'Static';
Static.args = {
type: 'success',
};
Static.argTypes = {
type: {
control: {
type: 'select',
options: ['success', 'error', 'loading'],
},
},
};
export const Interactive = () => {
let success;
let error;
let loading;
return (
);
};
Interactive.storyName = 'Interactive';