Home

Awesome

react-foaas-card

The most offensive of react components

NPM

View sample cards here

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 }