1.0.0 • Published 2 years ago

articlize v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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">