import AlertLink from 'sentry/components/alertLink';
import {IconDocs, IconGeneric, IconMail, IconStack, IconStar} from 'sentry/icons';
export default {
title: 'Components/Alerts/Alert Links',
component: AlertLink,
};
export const Default = () => [
Check out the notifications settings panel.
,
Do not forget to read the docs ya dum dum!
,
Install this thing or else!
,
Gj you did it. Now go here.
,
I am saying nothing, ok?
,
];
Default.storyName = 'Default';
Default.parameters = {
docs: {
description: {
story: 'A way to loudly link between different parts of the application',
},
},
};
export const WithAnIcon = () => [
} key="1">
Gumbo beet greens corn soko endive gumbo gourd. Parsley shallot courgette tatsoi pea
sprouts fava bean collard greens dandelion okra wakame tomato. Dandelion cucumber
earthnut pea peanut soko zucchini.
,
}
priority="error"
key="2"
>
Do not forget to read the docs ya dum dum!
,
}
priority="info"
key="3"
>
Install this thing or else!
,
}
priority="success"
key="4"
>
Gj you did it. Now go here.
,
}
priority="muted"
key="5"
>
I am saying nothing, ok?
,
];
WithAnIcon.storyName = 'With an icon';
WithAnIcon.parameters = {
docs: {
description: {
story: 'You can optionally pass an icon src',
},
},
};
export const Small = () => [
Check out the notifications settings panel.
,
Do not forget to read the docs ya dum dum!
,
Install this thing or else!
,
Gj you did it. Now go here.
,
I am saying nothing, ok?
,
];
Small.storyName = 'Small';
Small.parameters = {
docs: {
description: {
story: 'You can optionally pass an icon src',
},
},
};