1.0.0 • Published 2 years ago
articlize v1.0.0
Articlize
getWithAttachedArticle
pass a word, and get the appropriate article prepended to it
import {getWithAttachedArticle} from "sample-library";
const phrase = getWithAttachedArticle("shoe");
// a shoe
const phrase = getWithAttachedArticle("octopus");
// an octopus
ColorButton
pass the color and text and get a button of passed color and text
import {ColorButton} from "sample-library";
<ColorButton color={red} buttonText="click me" />
<ColorButton color="#22c55e
" buttonText="click me">
1.0.0
2 years ago