;
export const Default: Story = {
args: {
header: 'This is a notification',
content: [
This might be of importance...
],
},
render: (args) => ,
};
export const Warning: Story = {
args: {
header: 'Oops! An error has occurred',
type: 'warning',
content: [
Shit's fucked, yo!
],
},
render: (args) => ,
};
export const Attention: Story = {
args: {
header: 'Please read this',
type: 'attention',
content: [
We really want you to read this.
],
},
render: (args) => ,
};
export const Confirm: Story = {
args: {
header: 'Great success',
type: 'confirm',
content: [
You the man now, dawg!
],
},
render: (args) => ,
};
export const Single_Action: Story = {
args: {
header: 'Do you want to do this?',
type: 'attention',
content: [
Please confirm.
],
actions: [
],
},
render: (args) => ,
};
export const Multiple_Actions: Story = {
args: {
header: 'Do you want to do this?',
type: 'attention',
content: [
Please confirm.
],
actions: [
,
],
},
render: (args) => ,
};
export const No_Header: Story = {
args: {
content: [
This might be of importance...
],
},
render: (args) => ,
};
export const Constrained_Width: Story = {
args: {
header: 'This is a notification',
content: [
This might be of importance...
],
},
render: (args) => ,
};