Show raw api
{
"functions": [],
"properties": [],
"types": [
{
"name": "TextSwapProps",
"desc": "",
"fields": [
{
"name": "...",
"lua_type": "BaseButtonProps",
"desc": "All BaseButton properties are accepted."
},
{
"name": "Options",
"lua_type": "{string}?",
"desc": "Array of string options to swap between"
},
{
"name": "Selection",
"lua_type": "number?",
"desc": "The currently selected option index"
},
{
"name": "Disabled",
"lua_type": "boolean?",
"desc": "Whether the TextSwap is disabled"
},
{
"name": "Color",
"lua_type": "Color3?",
"desc": "The color of the content"
},
{
"name": "ContentSize",
"lua_type": "number?",
"desc": "The size of the content"
}
],
"source": {
"line": 18,
"path": "src/Components/TextSwap.luau"
}
}
],
"name": "TextSwap",
"desc": "Swap between an array values.",
"source": {
"line": 6,
"path": "src/Components/TextSwap.luau"
}
}