react-frame
React components within an iframe for isolated css styling
Installation
npm install react-frame --save yarn add react-frame
Demo
https://swiftcarrot.dev/react-frame
Usage
<Frame styleSheets={['frame1.css']} css={'body{background-color:#eee;}'}> <div className="title">frame</div> </Frame>
License
MIT