Skip to content

bluewings/react-scaled-content

Repository files navigation

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>  
  );
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published