fit-fill
v0.2.4
Published
Fit-fill is a simple React component that allows you to fit or fill a wrapper div with a child component (image in most cases).
Downloads
1
Readme
Fit-fill
Fit-fill is a simple React component that allows you to fit or fill a wrapper div with a child component (image in most cases).
Installation
yarn add fit-fill
Usage
import Fit from 'fit-fill'
<Fit src="...." />
License
MIT