Appearance
Localization
You can customize any text in banano's components:
- For validation we use vee-validate, with it you can customize any validation message. We mostly use
yup
for validation rules, so you can useuseLocale
with something like yup-locales or your custom translations object. Check out yup's documentation on localization for more information. - You can modify other text elements, such as
BnFileInput
'splaceholder
andbuttonText
, by using their respective props. Currently, there is no way to change these props' default values globally, so you would have to change them in a per-instance basis.