1.2.0 • Published 8 months ago
velvet-wave v1.2.0
velvet-wave
Velvet Wave is a versatile and intuitive React styling library that empowers developers to effortlessly create stunning and responsive user interfaces. Say goodbye to cumbersome CSS files and hello to an elegant and efficient styling solution that seamlessly integrates with your React applications.
Install
npm install --save velvet-wave
Usage
import React from 'react'
import { VelvetTable } from 'velvet-wave'
import 'velvet-wave/dist/index.css'
export default const App = () => {
const columns = [
{ label: 'Name', key: 'name' },
{ label: 'Age', key: 'age' },
{ label: 'Agew', key: 'age' },
{ label: 'City', key: 'city' },
{ label: 'Action', key: '' }
]
const data = [
{ name: 'Alice', age: 28, city: 'New York' },
{ name: 'Bob', age: 32, city: 'San Francisco' },
{ name: 'Charlie', age: 22, city: 'Los Angeles' }
]
return <VelvetTable columns={columns} data={data} />
}
License
MIT © rahulcodz