useClassPrefix
React hooks and other usefull stuff.
Hooks
useClassPrefix Function that will produce a string where every class is prefixed
usage
const pre = useClassPrefix ("my-prefix");
...
<div className={pre("clsA clsB content")}/>
result
<div class="my-prefix-clasA my-prefix-clasB my-prefix-content"/>