From ce3bdc5c77f65c0094146d135ae97ec389e54a84 Mon Sep 17 00:00:00 2001 From: Marios Antonoudiou Date: Sat, 22 Feb 2020 21:30:52 +0000 Subject: [PATCH] Support optional classnames --- README.md | 12 +++++++++++- src/index.ts | 4 ++-- test/index.test.ts | 5 +++++ 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c02cabd..c2302ac 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,17 @@ Using cn is pretty simple. It is inspired by the well known [Classnames](https:/ import cn from '@mariosant/cn'; const isActive = true; -const SomeComponent = () =>