@rbxts/app-forge 0.3.4 → 0.3.5

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.
@@ -6,8 +6,9 @@ export declare function App(props: Types.AppRegistryProps): <T extends new (prop
6
6
  export declare abstract class Args {
7
7
  readonly forge: AppForge;
8
8
  readonly props: Types.ClassProps;
9
- readonly bind: React.Binding<boolean>;
10
9
  readonly name: AppNames[number];
10
+ readonly bind: React.Binding<boolean>;
11
+ readonly state: Boolean;
11
12
  constructor(props: Types.NameProps & Types.MainProps);
12
13
  abstract render(): JSX.Element;
13
14
  }
@@ -1,6 +1,5 @@
1
1
  -- Compiled with roblox-ts v3.0.0
2
2
  local TS = _G[script]
3
- -- Services
4
3
  -- Packages
5
4
  local usePx = TS.import(script, TS.getModule(script, "@rbxts", "loners-pretty-react-hooks").out).usePx
6
5
  -- Types
@@ -40,6 +39,7 @@ do
40
39
  self.props = _object
41
40
  self.name = name
42
41
  self.bind = forge:getBind(name)
42
+ self.state = self.bind:getValue()
43
43
  end
44
44
  end
45
45
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "An App Manager for react",
5
5
  "main": "out/init.lua",
6
6
  "packageManager": "bun@1.3.1",