babel-plugin-transform-v-jsx
v0.0.2
Published
## `v:if`
Downloads
11
Readme
babel-plugin-transform-v-jsx
v:if
Make conditional render simple.
<button v:if={showButton} />
<button v:if />
v:class
Support object & array type className that just like Vue(need to impl React._extFixClassName
).
<button v:class={{active: isActive}} />
v:wrap
Make use of HoC more simple.
<a v:wrap={<Tooltip title="abc" />}>i</a>