react-vonder-components
v1.0.4
Published
vonder thailand
Downloads
8
Readme
react-vonder-components
vonder thailand
Install
npm install --save react-vonder-components
Usage
import React from 'react'
import VonderCardList from 'react-vonder-components'
function App() {
const LIST = [
{
item: '1',
name: 'vonder',
imageUrl:
'https://d3vlf99qeg6bpx.cloudfront.net/content/uploads/2019/12/27122731/GettyImages.1196073144.jpg'
},
{
item: '1',
name: 'vonder2',
imageUrl:
'https://en.as.com/en/imagenes/2020/04/15/football/1586938317_820731_noticia_normal.jpg'
}
]
return (
<VonderCardList
buttoncolor='string' //#60d884
cardradius={15} //px
marginbetweencard={1} //em
data={LIST} //array
onClick={} //function
/>
)
}
Test
import VonderCardList from '.'
describe('VonderCardList', () => {
it('is truthy', () => {
expect(VonderCardList).toBeTruthy()
})
})
License
MIT © minnyww