✨(react) export locale in package
We want to be able to import the locales from the consumer in order to customize them.
This commit is contained in:
committed by
Jean-Baptiste PENRATH
parent
b1850c029a
commit
a343db2b0e
5
.changeset/shaggy-dodos-cheer.md
Normal file
5
.changeset/shaggy-dodos-cheer.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@openfun/cunningham-react": patch
|
||||
---
|
||||
|
||||
✨(react) export locale in package
|
||||
@@ -36,3 +36,6 @@ export const defaultTokens = tokens.themes.default;
|
||||
export type Configuration = {
|
||||
themes: Record<string, PartialExtendableNested<typeof tokens.themes.default>>;
|
||||
};
|
||||
|
||||
export { default as enUS } from "./locales/en-US.json";
|
||||
export { default as frFR } from "./locales/fr-FR.json";
|
||||
|
||||
Reference in New Issue
Block a user