function ProgressBar(Scope: Scope): (props: ProgressProperties) -> Frame
Initializes the component and returns a new function to create that component, which is a bar that fills up with an accent color.
Default Syntax
local ProgressBarComponent = require(StudioComponents.ProgressBar)
local ProgressBar = ProgressBarComponent(Scope)
Shorthand
local ProgressBar = require(StudioComponents.ProgressBar)(Scope)
Parameters
Scope: Scope |
The Scope the component will be initialized in. |
Returns Function
Parameters
props: ProgressProperties |
The table which contains the properties of the component that will be created. |
Returns