@teamsnap/teamsnap-ui
Version:
a CSS component library for TeamSnap
14 lines (13 loc) • 383 B
TypeScript
import React from 'react';
export interface PropTypes {
text: String;
style?: React.CSSProperties;
mods?: String;
testId?: string;
}
/**
* Skittles takes in a string of text and creates a simple "badge" style object with consistent colors
* @param text
*/
declare const Skittles: ({ text, style, mods, testId }: PropTypes) => JSX.Element;
export default Skittles;