✨(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
@@ -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