0.1.9 • Published 3 years ago

@ls30378/react-responsive-layout v0.1.9

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

ResponsiveBox

It's a div that uses JavaScript to transform scale up or down, depending on the height and width you give as props.

Usage

First install

yarn add @ls30378/react-responsive-layout
npm install @ls30378/react-responsive-layout

Than import it and use it

import {ResponsiveBox} from '@ls30378/react-responsive-layout'
...
<ResponsiveBox width={1300} height={800}>
//your code here 
</ResponsiveBox>

Configuration (props): height - Height of the div width - Width of the div boxClass - Css custom class

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago