From 0f8f963ba3eccd7fd94785bf7fb216b6287cec57 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 22 May 2022 19:26:45 +0200 Subject: chore: adjust dark mode styles --- src/components/atoms/links/link.stories.tsx | 58 +++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) (limited to 'src/components/atoms/links/link.stories.tsx') 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 @@ -98,6 +98,29 @@ Default.args = { external: false, }; +/** + * 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 */ @@ -109,6 +132,17 @@ External.args = { external: true, }; +/** + * Links Stories - External download + */ +export const ExternalDownload = Template.bind({}); +ExternalDownload.args = { + children: 'A link', + href: '#', + download: true, + external: true, +}; + /** * Links Stories - External With Lang */ @@ -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', +}; -- cgit v1.2.3