Directus / @directus/extensions-sdk / useLayout
Function: useLayout() ​
useLayout<
Options
,Query
>(layoutId
):object
Defined in: packages/composables/dist/index.d.ts:123
Type Parameters ​
• Options = any
• Query = any
Parameters ​
layoutId ​
Ref
<null
| string
>
Returns ​
object
layoutWrapper ​
layoutWrapper:
ComputedRef
<Component
>