/react-frame

React components within an iframe for isolated css styling (Status: failed)

Primary LanguageJavaScriptMIT LicenseMIT

react-frame

React components within an iframe for isolated css styling

Installation

npm install react-frame --save

Demo

https://pqx.github.io/react-frame/example

Usage

<Frame
  styleSheets={['frame1.css']}
  css={'body{background-color:#eee;}'}>

  <div className="title">
    Parturient Ipsum Cursus Purus Justo
  </div>

</Frame>

License

MIT