标签: html react-native jsx
探索React类后,我试图将子视图转换为样式完全相同的HTML字符串:
React.createElement()
返回:
DetailedReactHTMLElement<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>
那么有什么方法可以将HTML作为字符串获取?