react-foaas-card

0.1.3 • Public • Published

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

prop type default description example
type string because How to tell someone to fuck off horse
from string a react component The subtitle, italized message Kevin
classes object link to source Classes object to configure material card styles Refer to material ui card api
raised boolean true Provide shadowing to the card false
darkMode boolean false Invert text and background color true
subtitleStyles object { fontWeight: 'lighter', fontStyle: 'italic' } Styles for subtitles { color: 'red' }
middleFinger boolean true Provide a middle finger emoji false
middleFingerStyles object { fontSize: '30px' } Styles for span containing middle finger emoji { padding: '50px }

Package Sidebar

Install

npm i react-foaas-card

Weekly Downloads

5

Version

0.1.3

License

MIT

Unpacked Size

84.4 kB

Total Files

10

Last publish

Collaborators

  • circa10a