README
react-imglist
react-imglist is a react component to show imgs with titles in a list
install it by
npm install react-imglist
import and use it in your react app, you can style your list by passing props
the defult values are
porps | value |
---|---|
listData | [.....] |
imgSize | 50px |
imgCornerStyle | "50%" |
titleSize | "25px" |
listData fromat
[{
id: "id",
title: "TITLE",
photoURL:"URL"
}]
example
<react-imglist
imgSize="50px"
imgCornerStyle ="50%"
titleSize="25px"
listData=[listData]
/>