Adding classNames helper function
- Adding a new helper function
classNames
const innerClass = 'text-black border rounded'
//instead of using
<div className={['w-full', innerClass].filter(Boolean).join(' ')}></div>
//use instead
<div className={classNames('w-full', innerClass)}></div>
Edited by Mahmoud Tarek