Skip to main content
Version: Next

useCustomLayouts()

Home > @backstage/plugin-scaffolder-react > useCustomLayouts

Hook that returns all custom field extensions from the current outlet.

Signature:

useCustomLayouts: <TComponentDataType = LayoutOptions<any>>(outlet: React.ReactNode) => TComponentDataType[]

Parameters

Parameter

Type

Description

outlet

React.ReactNode

**Returns:**

TComponentDataType[]