@fatherly-funnies/joke-card
v1.4.0
Published
React component to display a daily joke
Downloads
13
Maintainers
Readme
npm install --save @fatherly-funnies/joke-card
import { JokeCard } from '@fatherly-funnies/joke-card';
backgroundColor : (String, optional, default='#cccccc') Set the background color for the Paper containing the joke
borderRadius : (String, optional, default='10px') Sets the border radius on the joke container
color : (String, optional, default='black') Set the color of the joke text
iconColor : (String, optional, default='#000') Set the color of the like/dislike icons
marginLeft : (String, optional, default='auto') Sets the left margin for the joke container
marginRight : (String, optional, default='auto') Sets the right margin for the joke container
padding : (number, optional, default=10) Sets the padding around the joke text
showTags : (boolean, optional, default=true) Sets whether to display the tags on the joke if any exist
width : (String, optional, default='50%') Set the width of the component