function Title(Scope: Scope): (props: LabelProperties) -> TextLabel
Initializes the component and returns a new function to create that component, which is a simple text label following Studio style guidelines for title text.
Default Syntax
local TitleComponent = require(StudioComponents.Title)
local Title = TitleComponent(Scope)
Shorthand
local Title = require(StudioComponents.Title)(Scope)
Parameters
Scope: Scope |
The Scope the component will be initialized in. |
Returns Function
Parameters
props: LabelProperties |
The table which contains the properties of the component that will be created. |
Returns