File tree Expand file tree Collapse file tree
packages/react-native-autoplay Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -314,6 +314,32 @@ The library does **not** bundle any icon font — the consuming app must provide
314314
315315 For cross-platform compatibility use **lowercase names with underscores only** (e.g. `material_symbols`).
316316
317+ **or**
318+
319+ 1. use expo-font
320+ ```js
321+ [
322+ ' expo-font' ,
323+ {
324+ android: {
325+ fonts: [
326+ {
327+ fontFamily: ' MaterialSymbols' ,
328+ fontDefinitions: [
329+ {
330+ path: ' ./assets/fonts/material_symbols.ttf' ,
331+ weight: 800,
332+ },
333+ ],
334+ },
335+ ],
336+ },
337+ ios: [' ./assets/fonts/material_symbols.ttf' ],
338+ },
339+ ],
340+ ```
341+ For cross-platform compatibility use **lowercase names with underscores only** (e.g. `material_symbols`).
342+
3173432. Register the font and an optional glyph map at startup:
318344
319345 ```ts
You can’t perform that action at this time.
0 commit comments