function TextInput(Scope: Scope): (props: TextInputProperties) -> TextBox
Initializes the component and returns a new function to create that component, which is a TextBox that reacts to states like hover, focus, and disabled.
Default Syntax
local TextInputComponent = require(StudioComponents.TextInput)
local TextInput = TextInputComponent(Scope)
Shorthand
local TextInput = require(StudioComponents.TextInput)(Scope)
Parameters
Scope: Scope |
The Scope the component will be initialized in. |
Returns Function
Parameters
props: TextInputProperties |
The table which contains the properties of the component that will be created. |
Returns