@rbxts/app-forge 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,7 @@ export declare abstract class Args {
7
7
  readonly Forge: AppForge;
8
8
  readonly props: AppProps;
9
9
  readonly name: AppNames[number];
10
+ readonly bind: [React.Binding<boolean>, (T: boolean) => void];
10
11
  constructor(props: AppProps, forge: AppForge, name: AppNames[number]);
11
- abstract render(): React.Element;
12
+ abstract render(): JSX.Element;
12
13
  }
@@ -25,6 +25,9 @@ do
25
25
  self.Forge = forge
26
26
  self.props = props
27
27
  self.name = name
28
+ local _binds = forge.binds
29
+ local _name = name
30
+ self.bind = _binds[_name]
28
31
  end
29
32
  end
30
33
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "An App Manager for react",
5
5
  "main": "out/init.lua",
6
6
  "packageManager": "bun@1.3.1",