Address white falshes in storybook

This commit is contained in:
Joseph Garrone
2024-06-05 01:02:17 +02:00
parent 183826ca0d
commit 0b5a7544ca
5 changed files with 93 additions and 100 deletions

View File

@ -76,6 +76,21 @@ export const WithRecaptcha: Story = {
)
};
export const WithRecaptchaFrench: Story = {
render: () => (
<PageStory
kcContext={{
locale: {
currentLanguageTag: "fr"
},
scripts: ["https://www.google.com/recaptcha/api.js?hl=fr"],
recaptchaRequired: true,
recaptchaSiteKey: "6LfQHvApAAAAAE73SYTd5vS0lB1Xr7zdiQ-6iBVa"
}}
/>
)
};
export const WithPresets: Story = {
render: () => (
<PageStory