In the browser this value is set in the CSS block and not as a style property meaning you cannot dynamically change this Defaultįunctionality varies on One Plus devices. ![]() The default font value on web is FontDisplay.AUTO.Įven though setting the fontDisplay does nothing on native platforms, the default behaviorĮmulates FontDisplay.SWAP on flagship devices like iOS, Samsung, Pixel, etc. Import * as React from 'react' import ) Try this example on Snackįor a given typeface.
0 Comments
Leave a Reply. |