@fatherly-funnies/joke-card
Version:
React component to display a daily joke
21 lines (20 loc) • 735 B
TypeScript
export interface JokeCardProps {
/** Sets the background color for the joke container */
backgroundColor?: string;
/** Set the border radius for the joke container */
borderRadius?: string;
/** Set the color of the joke text */
color?: string;
/** Set the color of the like/dislike icons */
iconColor?: string;
/** Set the left margin of the joke container */
marginLeft?: string;
/** Set the right margin of the joke container */
marginRight?: string;
/** Set the padding for the joke text within the container */
padding?: string;
/** Set whether to show the tags for the joke */
showTags?: boolean;
/** Set the width of the joke container */
width?: string;
}