This pull-request will introduce support for expression properties in JSX components. It will add support for handling fragments (<></>) as well.
Description:
There are two types of properties - "textual" and "expressions" in JSX. You can define type in JsxComponentDescriptor. jsxPlugin will treat the value based on this setting. For example, this code:
This pull-request will introduce support for expression properties in JSX components. It will add support for handling fragments (
<></>
) as well.Description:
There are two types of properties - "textual" and "expressions" in JSX. You can define type in
JsxComponentDescriptor
.jsxPlugin
will treat the value based on this setting. For example, this code:will produce component like the following:
While this descriptor:
will produce: