-- Compiled with roblox-ts v3.0.0 local TS = _G[script] local _vide = TS.import(script, TS.getModule(script, "@rbxts", "vide").src) local Vide = _vide local read = _vide.read local px = TS.import(script, script.Parent.Parent.Parent, "hooks", "use-px").px local options = TS.import(script, script.Parent.Parent.Parent, "store").options local function Text(props) local _attributes = { FontFace = function() return read(props.font) or options().font.regular end, Text = props.text, TextColor3 = props.textColor, TextSize = function() local _condition = read(props.textSize) if _condition == nil then _condition = px(16) end return _condition end, TextTransparency = props.textTransparency, TextWrapped = props.textWrapped, TextXAlignment = props.textXAlignment, TextYAlignment = props.textYAlignment, TextTruncate = props.textTruncate, TextScaled = props.textScaled, LineHeight = props.textHeight, RichText = props.richText, Size = props.size, AutomaticSize = props.automaticSize, AutoLocalize = function() return options().autoLocalize end, Position = props.position, AnchorPoint = props.anchor, BackgroundColor3 = props.backgroundColor, } local _condition = props.backgroundTransparency if _condition == nil then _condition = 1 end _attributes.BackgroundTransparency = _condition _attributes.ClipsDescendants = props.clipsDescendants _attributes.Visible = props.visible _attributes.ZIndex = props.zIndex _attributes.LayoutOrder = props.layoutOrder _attributes.action = props.action local _attribute = props.native if _attribute then for _k, _v in _attribute do _attributes[_k] = _v end end return Vide.jsx("textlabel", _attributes, props.cornerRadius and Vide.jsx("uicorner", { CornerRadius = props.cornerRadius, }), props.children) end return { Text = Text, }