Skip to main content

DashboardPageBlockDefinition

DashboardPageBlockDefinition

Status: Developer Preview

This allows you to insert a custom component into a specific location on any page in the dashboard.

Signature
interface DashboardPageBlockDefinition {
id: string;
title?: React.ReactNode;
location: PageBlockLocation;
component: React.FunctionComponent<{ context: PageContextValue }>;
requiresPermission?: string | string[];
}

id

property
string

title

property
React.ReactNode

location

component

property
React.FunctionComponent<{ context: PageContextValue }>

requiresPermission

property
string | string[]