1.0.1 • Published 2 years ago

dcs-profile-cards v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

dcs-profile-cards

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save dcs-profile-cards

Usage

For Big Profile Cards:

import React, { Component } from 'react'

import { BigProfileCard } from 'dcs-profile-cards'
import 'dcs-profile-cards/dist/index.css'

class Example extends Component {
  render() {
    return (
        <BigProfileCard name='DCSELEK' id="41" mail="dcselek@gmail.com" other="Hi! 🖖" src={avatar} alt="avatar" purple />
        <BigProfileCard name='DCSELEK' id="41" other="Hi! 🖖" src={avatar} alt="avatar" yellow />
        <BigProfileCard name='DCSELEK' id="41" other="Hi! 🖖" src={avatar} alt="avatar" gray />
        <BigProfileCard name='DCSELEK' id="41" other="Hi! 🖖" src={avatar} alt="avatar" darkblue />
    )
  }
}

For Small Profile Cards:

import React, { Component } from 'react'

import { SmallProfileCard } from 'dcs-profile-cards'
import 'dcs-profile-cards/dist/index.css'

class Example extends Component {
  render() {
    return (
        <SmallProfileCard name='DCSELEK' id="41" other="Hi! 🖖" src={avatar} alt="avatar" angular purple />
        <SmallProfileCard name='DCSELEK' id="41" other="Hi! 🖖" src={avatar} alt="avatar" angular yellow />
        <SmallProfileCard name='DCSELEK' id="41" other="Hi! 🖖" src={avatar} alt="avatar" angular gray />
        <SmallProfileCard name='DCSELEK' id="41" other="Hi! 🖖" src={avatar} alt="avatar" angular darkblue />
    )
  }
}

License

MIT © dcselek

1.0.1

2 years ago

1.0.0

2 years ago