react-scaled-content
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

react-scaled-content

npm badge

Installation

npm install react-scaled-content

Usage

import { Scaled } from 'react-scaled-content';

function Sample () {
  return (
    <div style={{ width: 400, height: 300 }}>
      <Scaled>
        <div style={{ width: 600, height: 600 }}>
          ...
        </div>
      </Scaled>
    </div>  
  );
}

Readme

Keywords

none

Package Sidebar

Install

npm i react-scaled-content

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

23.9 kB

Total Files

9

Last publish

Collaborators

  • bluewings