0.0.1 • Published 4 years ago
@stefanlazarevic/components.picture v0.0.1
Picture
Инсталација
npm i @stefanlazarevic/components.picture
yarn add @stefanlazarevic/components.picture
Коришћење
import Picture from "@stefanlazarevic/components.picture";
<Picture src="https://images.unsplash.com/photo-1595591181104-e60686c646b0?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80" alt="Abstract painting by Steve Johnson">
Атрибути
назив | тип | подразумевана вредност | опис |
---|---|---|---|
alt | string | "" | read |
children | ReactNodeLike | undefined | read |
className | string | undefined | read |
crossOrigin | string | undefined | read |
id | string | undefined | read |
loading | string | "lazy" | read |
style | object | undefined | read |
src | string | undefined | read |
testId | string | undefined | read |
title | string | undefined | read |
onLoad | function | undefined | read |
onError | function | undefined | read |
onAbort | function | undefined | read |
0.0.1
4 years ago