ROADMAP: V.2 #155
sannajammeh
announced in
Announcements
Replies: 1 comment
-
![]() The import { twc } from 'react-twc'
const Title = twc.h2`text-2xl font-bold`;
// Strings
<Title className="uppercase" />
// Array
<Title className={[false, 0, "uppercase"]} />
// Objects
<Title className={{ uppercase: true }} />
// Nesting
<Title className={[{ uppercase: true }, "underline"]} /> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
tw-classed version 2.
TW Classed is going through some changes! Most will be non-breaking for most users, the non breaking changes will land in minor releases before Version 2.
Planned minor changes - one release per change
Planned breaking changes
forwardRef
for React 19Beta Was this translation helpful? Give feedback.
All reactions