You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation Bug:
In the 5.3.0 docs, in Guides-> Branding, in the mapping example, the guide prompts you to create a mapping.json file with the following contents: { "strict": { "text-font-family": "OpenSans-Regular" } }
And then to pass the map into the Application Provider like so: <ApplicationProvider {...eva} theme={{ ...eva.dark, ...theme }} customMapping={mapping}>
However this throws a type error for the customMapping prop.
Instead, I used the following code in mapping.json to no longer get a type error: { "components": {}, "strict": { "text-font-family": "OpenSans-Regular" } }
Additional details: Happening in a raw (non-expo) React Native repo that is brand new that has installed the latest version of eva and UI Kitten.
To Reproduce
Steps to reproduce the behavior:
Follow steps in the Doc Guide to create a map for fonts. Although for the npx react-native link step I get an error (I created a different issue for that) and used npx react-native-asset instead.
Expected behavior
Rather than have the copy and paste example throw a type error, update the example to no longer cause a type error.
Link to runnable example or repository (highly encouraged)
UI Kitten and Eva version
Package
Version
@eva-design/eva
2.2.0
@ui-kitten/components
5.3.1
Environment information
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
Documentation Bug:
In the 5.3.0 docs, in Guides-> Branding, in the mapping example, the guide prompts you to create a
mapping.json
file with the following contents:{ "strict": { "text-font-family": "OpenSans-Regular" } }
And then to pass the map into the Application Provider like so:
<ApplicationProvider {...eva} theme={{ ...eva.dark, ...theme }} customMapping={mapping}>
However this throws a type error for the customMapping prop.
Instead, I used the following code in
mapping.json
to no longer get a type error:{ "components": {}, "strict": { "text-font-family": "OpenSans-Regular" } }
Additional details: Happening in a raw (non-expo) React Native repo that is brand new that has installed the latest version of eva and UI Kitten.
To Reproduce
Steps to reproduce the behavior:
Follow steps in the Doc Guide to create a map for fonts. Although for the
npx react-native link
step I get an error (I created a different issue for that) and usednpx react-native-asset
instead.Expected behavior
Rather than have the copy and paste example throw a type error, update the example to no longer cause a type error.
Link to runnable example or repository (highly encouraged)
UI Kitten and Eva version
Environment information
The text was updated successfully, but these errors were encountered: