diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-22 19:26:45 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-22 19:26:45 +0200 |
| commit | 0f8f963ba3eccd7fd94785bf7fb216b6287cec57 (patch) | |
| tree | d937c9cfeecdebe00a418a8b39daa0a116daa40d /src/components/atoms/links/link.stories.tsx | |
| parent | abdcc01386fff0c1caa5d290cffcb0c5be906900 (diff) | |
chore: adjust dark mode styles
Diffstat (limited to 'src/components/atoms/links/link.stories.tsx')
| -rw-r--r-- | src/components/atoms/links/link.stories.tsx | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/components/atoms/links/link.stories.tsx b/src/components/atoms/links/link.stories.tsx index 420eafe..4baabe5 100644 --- a/src/components/atoms/links/link.stories.tsx +++ b/src/components/atoms/links/link.stories.tsx @@ -99,6 +99,29 @@ Default.args = { }; /** + * Links Stories - Download + */ +export const Download = Template.bind({}); +Download.args = { + children: 'A link to a file', + href: '#', + download: true, + external: false, +}; + +/** + * Links Stories - DownloadWithLang + */ +export const DownloadWithLang = Template.bind({}); +DownloadWithLang.args = { + children: 'A link to a file', + href: '#', + download: true, + external: false, + lang: 'en', +}; + +/** * Links Stories - External */ export const External = Template.bind({}); @@ -110,6 +133,17 @@ External.args = { }; /** + * Links Stories - External download + */ +export const ExternalDownload = Template.bind({}); +ExternalDownload.args = { + children: 'A link', + href: '#', + download: true, + external: true, +}; + +/** * Links Stories - External With Lang */ export const ExternalWithLang = Template.bind({}); @@ -120,3 +154,27 @@ ExternalWithLang.args = { external: true, lang: 'en', }; + +/** + * Links Stories - External download with lang + */ +export const ExternalDownloadWithLang = Template.bind({}); +ExternalDownloadWithLang.args = { + children: 'A link', + href: '#', + download: true, + external: true, + lang: 'en', +}; + +/** + * Links Stories - With Lang + */ +export const WithLang = Template.bind({}); +WithLang.args = { + children: 'A link', + href: '#', + download: false, + external: false, + lang: 'en', +}; |
