dcselek / dcs-profile-cards

dcselek's awesome profile card for react

Home Page:https://www.npmjs.com/package/dcs-profile-cards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

dcselek's awesome profile card for react

https://www.npmjs.com/package/dcs-profile-cards


Languages

Language:CSS 54.8%Language:JavaScript 31.2%Language:HTML 14.0%