Skip to content

BoxBorder :function

function BoxBorder(Scope: Scope): (props: BoxBorderProperties) -> Frame
Initializes the component and returns a new function to create that component, which is a box border that is around the child components.

Default Syntax

local BoxBorderComponent = require(StudioComponents.BoxBorder)
local BoxBorder = BoxBorderComponent(Scope)

Shorthand

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

Parameters

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

Returns Function

Parameters

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

Returns

Frame