Skip to content

Shadow :function

function Shadow(Scope: Scope): (props: ShadowProperties) -> ImageLabel
Initializes the component and returns a new function to create that component, which is a subtle shadow positioned on the side of your choosing.

Default Syntax

local ShadowComponent = require(StudioComponents.Shadow)
local Shadow = ShadowComponent(Scope)

Shorthand

local Shadow = require(StudioComponents.Shadow)(Scope)

Parameters

Scope: Scope The Scope the component will be initialized in.

Returns Function

Parameters

props: ShadowProperties The table which contains the properties of the component that will be created.

Returns

ImageLabel