-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I have this code:
`import React from 'react';
import { View } from 'react-native';
import { MathJaxSvg } from 'react-native-mathjax-html-to-svg';
const MathJaxSvgHtml = ({ feladat, className }) => {
return (
{<html lang="hu"><head><style>${css}</style></head><body><div class='${className}'><p style="display: inline;">${feladat}</p></div></body></html>
}
);
};
const css = html{ margin: 0; user-select: none; hyphens: auto; overflow: hidden; } body{ font-family: Quicksand; font-weight: normal; font-style: normal; } .kerdes{ font-size: 6vw; text-indent: 7.5vw; } .kerdes-preview{ font-size: 6vw; text-align: center; }
;
export default MathJaxSvgHtml;`
In this code, adding the css style won't do anything, is there any way I can make this work?
Metadata
Metadata
Assignees
Labels
No labels