From 82b72c616ec189aa028e6f30ead2c4b91b657fca Mon Sep 17 00:00:00 2001 From: Steven Sacks Date: Tue, 23 Jul 2024 02:09:16 +0900 Subject: [PATCH] docs: update README for latest version of storybook initialGlobals --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f86dc56..26adbf1 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ export const reactIntl = { --- ### preview.ts -In your `preview.ts`, you need to add the `locales` and `locale` to initialGlobals, as well as add `reactIntl` that you exported from the above file to parameters. +In your `preview.ts`, you need to add the `locales` and `locale` to `initialGlobals` (or `globals` if you're not using the latest version of storybook), as well as add `reactIntl` that you exported from the above file to parameters. `locales` is an object where the keys are the "ids" of the locales/languages and the values are the names you want to display in the dropdown.