Skip to content
Snippets Groups Projects
Commit d961bd3d authored by Niklas Schrötler's avatar Niklas Schrötler
Browse files

Implemented classNames utility

parent 6533cd44
No related branches found
No related tags found
No related merge requests found
export default function classNames (...classes: (string | null | undefined)[]): string {
return classes.filter(c => typeof c === "string").join(" ");
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment