1.2.0 • Published 4 years ago
scomo v1.2.0
scomo
How good's a readme?
Have a yarn
People that have a yarn, get a yarn, to claim your yarn: yarn add scomo
.
Using Scomo
Scomo takes a few props but the only one that counts is imgsrc
.
import Scomo from 'scomo';
function HaveAGo(props) {
return <Scomo imgsrc="path/to/image.png" />;
}
What does Scomo do?
Leans into bias to confirm whatever you highlighted is as good as you believe it to be.
It is not elegant, but it is at least true to life.
Props
Name | Description | Example values |
---|---|---|
imgsrc | The image to load | String: img.png |
imgwidth | Width of image | Number: 320 |
imgalt | Alt text for image | String: tax credit |