Repository navigation
v4.7.0-beta.2
Pre-release
Pre-release
·
623 commits
to master
since this release
🚀 Features
-
maz-ui: Enforce locale presence in MazUiProvider translations prop (ea657089)
The
translationsprop is now required and uses a genericTLocaleparameter to ensure
thatmessagescontains at least the specified locale's translations at compile time.<!-- TypeScript will error if 'fr' key is missing from messages --> <MazUiProvider :theme="{ preset: mazUi }" :translations="{ locale: 'fr', messages: { fr } }" />
❤️ Contributors
- LouisMazel (@LouisMazel)