1.0.3 • Published 4 years ago
comp-out v1.0.3
comp-out
Simple React Component Library https://compout-c426e.web.app/
Install
npm install --save comp-out
Usage
import React, { Component } from 'react'
import { CompCard as Card, CompAppointment as Appt, CompProfile as Profile} from 'comp-out'
import 'comp-out/dist/index.css'
class App extends Component {
render() {
return (
<Card
img = 'example.png'
title = 'Hello World'
content = 'lorum ipsum'
/>
<Appt
time = '12 Jan 2020, 8am - 10am'
requesterImg = 'example.png'
requesterName = 'Vision'
requesterTitle = 'Synthozoid'
/>
<Profile
img = 'example.png'
name = 'Vision'
title = 'Synthozoid'
/>
)
}
}
License
MIT © tannerkc