@rbxts/app-forge 0.2.0 → 0.2.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.
- package/README.md +6 -0
- package/out/types.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -110,6 +110,12 @@ export default class SideButtons extends Args {
|
|
|
110
110
|
this.Forge // This is the AppForge Manager Created
|
|
111
111
|
this.name // The Name given on Element Creation
|
|
112
112
|
this.props // Props passed through Render
|
|
113
|
+
this.bind // This is the visible Bind
|
|
114
|
+
|
|
115
|
+
// Also I added px into the this.props table for you just requires my other lib so you can do this
|
|
116
|
+
const { px } = this.props
|
|
117
|
+
|
|
118
|
+
px.map((s) => (1 * s))
|
|
113
119
|
```
|
|
114
120
|
|
|
115
121
|
You never manually `new` apps — AppForge constructs them automatically.
|
package/out/types.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ declare namespace Types {
|
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
type MainProps = (
|
|
13
|
-
| { name
|
|
14
|
-
| { names
|
|
13
|
+
| { name?: AppNames[number]; names?: undefined }
|
|
14
|
+
| { names?: AppNames[number][]; name?: undefined }
|
|
15
15
|
) & {
|
|
16
16
|
props: AppProps;
|
|
17
17
|
forge: AppForge;
|