Repository navigation
Release 0.7.0
- Added support for conditional styling (52ae516). It is now possible to use arrays when setting
twparameter in JavaScript:function Wrapper({ children, isRounded }) { return <div tw={['p-4 bg-indigo-800 text-slate-50', isRounded && 'rounded-xl']}> {children} </div> }