I have designed my app using HTML and CSS. I’d like to “copy” it over to React-Native and keep all the formatting and styling. Is there a tool or best-practices method when doing something like this?
I have tried rendering Raw HTML with packages like
react-native-html5 - react-native-html5 - npm,
react-native-render-html - GitHub - meliorence/react-native-render-html: iOS/Android pure javascript react-native component that renders your HTML into 100% native views,
webview -https://reactnative.dev/docs/webview
but none makes the view interective.
My RawHTML look like this
<html>
<body>
<h2>HTML Forms</h2>
<form>
<label for="fname">First name:</label><br>
<input type="text" id="fname" name="fname" value="FristName"><br>
<label for="lname">Last name:</label><br>
<input type="text" id="lname" name="lname" value="LastName"><br><br>
<input type="submit" value="Submit">
</form>
</body>