react-contact-information

1.2.0 • Public • Published

react-contact-information

Introduction

Simple React component that combines all the ways to get connected across a variety of services.

Icons driven by FontAwesome; styles driven by Bootstrap / reactstrap.

Example

alt-text

import { ContactInformation, Service, Email, SERVICE_TYPE, FONT_AWESOME_SIZE } from 'react-contact-information';
 
<ContactInformation size={FONT_AWESOME_SIZE.TWO} rowLength={6} >
  <Service showIdentifier accountIdentifier='jaebradley' type={SERVICE_TYPE.GITHUB} />
  <Service showIdentifier accountIdentifier='arsenal' type={SERVICE_TYPE.INSTAGRAM} />
  <Service showIdentifier accountIdentifier='ohjoy' type={SERVICE_TYPE.PINTEREST} />
  <Service showIdentifier accountIdentifier='spez' type={SERVICE_TYPE.REDDIT} />
  <Service showIdentifier accountIdentifier='@djkhaled305' type={SERVICE_TYPE.SNAPCHAT} />
  <Email to='jae.b.bradley@gmail.com' />
</ContactInformation>

API

Readme

Keywords

Package Sidebar

Install

npm i react-contact-information

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

42.8 kB

Total Files

19

Last publish

Collaborators

  • jaebradley