clsx
Transforms all x-clsx
props to className
with clsx applied.
Installation
npm install react-beyond @react-beyond/clsx
Usage
import { Beyond } from 'react-beyond'
import { classFor } from '@react-beyond/clsx'
<Beyond features={[clsx()]}>
<App />
</Beyond>
Options
id
- The id of the feature HOC. Defaults to"clsx"
.