Skip to content

carloscuatin/react-resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-resize

React component that wraps the child component in (a div with width / height matching that of the current / updated window size).

Example

npm install --save react react-dom react-resize
import React from 'react'
import { render } from 'react-dom'
import Resize from 'react-resize'

class App extends React.Component {
    render() {
        return (
            <Resize>
              Hello React Resize
            </Resize>
        )
    }
}

render(<App/>, document.getElemenById('myApp'))

Autor

Carlos Cuatin cecg1996@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published