function ClassIcon(Scope: Scope): (props: ClassIconProperties) -> ImageLabel
Initializes the component and returns a new function to create that component, which is an image of a given ClassName from the user's installed Studio icon set.
Default Syntax
local ClassIconComponent = require(StudioComponents.ClassIcon)
local ClassIcon = ClassIconComponent(Scope)
Shorthand
local ClassIcon = require(StudioComponents.ClassIcon)(Scope)
Parameters
Scope: Scope |
The Scope the component will be initialized in. |
Returns Function
Parameters
props: ClassIconProperties |
The table which contains the properties of the component that will be created. |
Returns