react-thumbnail

1.0.0 • Public • Published

react-thumbnail

Include a static version of a webpage or your react element

Install

$ npm install react-thumbnail --save

Usage

import React from 'react';
import Thumbnail from 'react-thumbnail';
 
React.render(
  <Thumbnail width={250}
             height={250}
             page="https://facebook.github.io/react/docs/getting-started.html"
             scale={4} />,
  document.getElementById('root')
)
/>

Examples

See examples for more examples.

License

MIT © Fabrice Weinberg

/react-thumbnail/

    Package Sidebar

    Install

    npm i react-thumbnail

    Weekly Downloads

    178

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • fweinb