@rbxts/ultimate-list
v0.2.3-ts.2
Published
Typings for Kampfkarren/ultimate-list
Downloads
2,409
Readme
UltimateList
A library to declaratively create virtualized lists in Roblox React.
Read the documentation here.
Example usage
return React.createElement(UltimateList.Components.ScrollingFrame, {
dataSource = UltimateList.DataSources.array(letters),
dimensions = UltimateList.Dimensions.consistentSize(48),
renderer = UltimateList.Renderers.byState(function(value)
return React.createElement("TextLabel", {
BackgroundColor3 = Color3.new(1, 1, 1),
Font = Enum.Font.BuilderSansBold,
Text = value,
TextColor3 = Color3.new(0, 0, 0),
TextSize = 36,
Size = UDim2.fromScale(1, 1),
})
end),
direction = "y",
})Installation
UltimateList is available on Wally under kampfkarren/ultimate-list.
