@rbxts/app-forge 0.0.8 → 0.0.9
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/out/decorator.luau +1 -1
- package/out/helpers.d.ts +2 -2
- package/out/helpers.luau +4 -4
- package/package.json +1 -1
package/out/decorator.luau
CHANGED
package/out/helpers.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type AppForge from ".";
|
|
2
|
-
export declare function Render({ props,
|
|
2
|
+
export declare function Render({ props, forge, names, }: {
|
|
3
3
|
props: AppProps;
|
|
4
|
-
|
|
4
|
+
forge: AppForge;
|
|
5
5
|
names?: AppNames[number] | AppNames[number][];
|
|
6
6
|
}): JSX.Element | JSX.Element[];
|
package/out/helpers.luau
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
-- Types
|
|
3
3
|
local function Render(_param)
|
|
4
4
|
local props = _param.props
|
|
5
|
-
local
|
|
5
|
+
local forge = _param.forge
|
|
6
6
|
local names = _param.names
|
|
7
7
|
if names ~= "" and names then
|
|
8
8
|
if type(names) == "table" then
|
|
9
|
-
return
|
|
9
|
+
return forge:renderApps(props, names)
|
|
10
10
|
else
|
|
11
|
-
return
|
|
11
|
+
return forge:renderApp(props, names)
|
|
12
12
|
end
|
|
13
13
|
end
|
|
14
|
-
return
|
|
14
|
+
return forge:renderAll(props)
|
|
15
15
|
end
|
|
16
16
|
return {
|
|
17
17
|
Render = Render,
|