0.3.1 • Published 1 year ago

@rbxts/make-jsx v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

make-jsx

To make it work you have to include these lines at the top of every file:

/** @jsx MakeJsx.createElement */
/** @jsxFrag MakeJsx.createElement */

and then include the MakeJsx import.

Example

const innerFrame = <frame></frame>

const gui = (
	<screenGui ScreenInsets={Enum.ScreenInsets.None} ResetOnSpawn={false}>
		<frame BackgroundTransparency={1} Size={UDim2.fromScale(1, 1)}>
			<uIAspectRatioConstraint AspectRatio={1}></uIAspectRatioConstraint>

			<uICorner CornerRadius={new UDim(1, 0)}></uICorner>

            {innerFrame}
		</frame>
	</screenGui>
);
0.3.1

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago