1.0.4 • Published 4 years ago

react-vonder-components v1.0.4

Weekly downloads
8
License
MIT
Repository
github
Last release
4 years ago

react-vonder-components

vonder thailand

NPM JavaScript Style Guide

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

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago