From 187ec54a18cb54da5297cd59143cdb955cbed31c Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 18 Nov 2021 15:44:25 +0100 Subject: [PATCH] chore(utils): add `classNames` --- src/utils/index.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/utils/index.ts diff --git a/src/utils/index.ts b/src/utils/index.ts new file mode 100644 index 00000000..bb2d7740 --- /dev/null +++ b/src/utils/index.ts @@ -0,0 +1,5 @@ +export * from './popper' + +export function classNames (...classes: any[string]) { + return classes.filter(Boolean).join(' ') +}