0.1.3 • Published 4 years ago

react-foaas-card v0.1.3

Weekly downloads
4
License
MIT
Repository
-
Last release
4 years ago

react-foaas-card

The most offensive of react components

Build Status npm dependencies Status Dev Dependencies status

NPM

Demo

Getting started

install

npm install react-foaas-card

component

import FoaasCard from 'react-foaas-card';

<FoaasCard
    type="give"
    from="Some asshole"
/>

Props

For the type prop, refer to the foaas documentation for supported methods

proptypedefaultdescriptionexample
typestringbecauseHow to tell someone to fuck offhorse
fromstringa react componentThe subtitle, italized messageKevin
classesobjectlink to sourceClasses object to configure material card stylesRefer to material ui card api
raisedbooleantrueProvide shadowing to the cardfalse
darkModebooleanfalseInvert text and background colortrue
subtitleStylesobject{ fontWeight: 'lighter', fontStyle: 'italic' }Styles for subtitles{ color: 'red' }
middleFingerbooleantrueProvide a middle finger emojifalse
middleFingerStylesobject{ fontSize: '30px' }Styles for span containing middle finger emoji{ padding: '50px }