This commit is contained in:
lx
2026-07-06 14:01:11 -04:00
commit c4f97d729d
16468 changed files with 935321 additions and 0 deletions
@@ -0,0 +1,24 @@
--[[
Provides a set of markers used for annotating data in Roact.
]]
local Symbol = require(script.Parent.Symbol)
local Core = {}
-- Marker used to specify children of a node.
Core.Children = Symbol.named("Children")
-- Marker used to specify a callback to receive the underlying Roblox object.
Core.Ref = Symbol.named("Ref")
-- Marker used to specify that a component is a Roact Portal.
Core.Portal = Symbol.named("Portal")
-- Marker used to specify that the value is nothing, because nil cannot be stored in tables.
Core.None = Symbol.named("None")
-- Marker used to specify that the table it is present within is a component.
Core.Element = Symbol.named("Element")
return Core