0.1.2 • Published 5 years ago
react-scaled-content v0.1.2
react-scaled-content
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>
);
}