From 0d59a6d2995b4119865271ed1908ede0bb96497c Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 9 May 2022 18:19:38 +0200 Subject: refactor: rewrite DescriptionList and Meta components The meta can have different layout. The previous implementation was not enough to easily change the layout. Also, I prefer to restrict the meta types and it prevents me to repeat myself for the labels. --- .storybook/preview.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.storybook/preview.js') diff --git a/.storybook/preview.js b/.storybook/preview.js index 4bec022..344df2a 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -1,4 +1,5 @@ import '@styles/globals.scss'; +import { IntlProvider } from 'react-intl'; export const parameters = { actions: { argTypesRegex: '^on[A-Z].*' }, @@ -9,3 +10,11 @@ export const parameters = { }, }, }; + +export const decorators = [ + (Story) => ( + + + + ), +]; -- cgit v1.2.3