@saasmakers/ui 1.4.19 → 1.4.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,3 +18,18 @@ export const Default: StoryObj<typeof BaseMessage> = {
|
|
|
18
18
|
title: 'Message Title',
|
|
19
19
|
} satisfies Partial<BaseMessage>,
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
export const BorderedWithLegend: StoryObj<typeof BaseMessage> = {
|
|
23
|
+
args: {
|
|
24
|
+
bordered: true,
|
|
25
|
+
description: 'When you archive a habit, it will no longer appear in your main habits list. You can always unarchive it later if you change your mind.',
|
|
26
|
+
legend: 'Optional caption below the action',
|
|
27
|
+
title: 'Something went wrong',
|
|
28
|
+
} satisfies Partial<BaseMessage>,
|
|
29
|
+
decorators: [
|
|
30
|
+
story => ({
|
|
31
|
+
components: { story },
|
|
32
|
+
template: '<div class="mx-auto max-w-xs"><story /></div>',
|
|
33
|
+
}),
|
|
34
|
+
],
|
|
35
|
+
}
|