Skip to content

Release 0.7.0

Choose a tag to compare

@gavoja gavoja released this 24 Nov 17:41
· 117 commits to main since this release
  • Added support for conditional styling (52ae516). It is now possible to use arrays when setting tw parameter in JavaScript:
    function Wrapper({ children, isRounded }) {
      return <div tw={['p-4 bg-indigo-800 text-slate-50', isRounded && 'rounded-xl']}>
        {children}
      </div>
    }