/fit-fill

Primary LanguageJavaScriptMIT LicenseMIT

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