Open whitesnow9291 opened 3 years ago
You are right.
config
isn't passed down:
https://github.com/ShaMan123/react-native-math-view/blob/master/src/MathText.tsx#L45
You are welcome to PR.
You can instead handle this with the CellRenderComponent
.
<MathText
CellRenderComponent={props => <MathView {...props} config={{...props.config, em: 50}}
/>
The above solution still doesn't work can you please explain a bit?
Thanks
Sorry, I don't have a lot of time left to maintain the repo.
You are welcome to PR:
Pass a config
prop and merge it with inline
prop
This should work
https://github.com/ShaMan123/react-native-math-view/blob/master/src/MathText.tsx#L45
Can you explain what you mean by merging it with inline prop? Have you applied this already into the package?
Don't remember Sorry Follow the code It should be a react fix, passing props
I just used mathview instead
https://github.com/ShaMan123/react-native-math-view/pull/96
This PR should fix this issue.
config props works for MathView but not working for MathText
This doesn't show big font.
And where can I see all the props?