import React from 'react';
import {withInfo} from '@storybook/addon-info';
import AlertLink from 'app/components/alertLink';
import {IconDocs, IconGeneric, IconMail, IconStack, IconStar} from 'app/icons';
export default {
title: 'UI/Alerts/AlertLink',
};
export const Default = withInfo(
'A way to loudly link between different parts of the application'
)(() => [
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.story = {
name: 'default',
};
export const WithAnIcon = withInfo('You can optionally pass an icon src')(() => [
} 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.story = {
name: 'with an icon',
};
export const Small = withInfo('You can optionally pass an icon src')(() => [
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.story = {
name: 'small',
};