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
But that doesn't seem to be working if I use the defaultProps solution. It seems the defaultProps are overriding the markdown-style. Removing that one line specifying the default font fixes it (but I'd like to be able to use that solution).
Is there a way to fix this?
The text was updated successfully, but these errors were encountered:
I'm using the following solution at the entry file for my project in order to set a default font:
It's a neat and well-known solution to avoid having to specify a font on each text component (or having to write your own wrapper component for it).
But, for some reason, this doesn't work when using the
MarkdownView
component. I'm trying to specify fonts for bold and italic like this:But that doesn't seem to be working if I use the
defaultProps
solution. It seems the defaultProps are overriding the markdown-style. Removing that one line specifying the default font fixes it (but I'd like to be able to use that solution).Is there a way to fix this?
The text was updated successfully, but these errors were encountered: