Adding title prop to customHomePage

Signed-off-by: gerson <tnii.gerson@gmail.com>
This commit is contained in:
gerson
2025-05-04 10:44:30 +02:00
parent 8c5f8fe8d4
commit eddd96c62b
9 changed files with 257 additions and 68 deletions
@@ -321,7 +321,7 @@ export const CustomHomepageGrid = (props: CustomHomepageGridProps) => {
return (
<>
<ContentHeader title="">
<ContentHeader title={props.title}>
<CustomHomepageButtons
editMode={editMode}
numWidgets={widgets.length}
@@ -45,6 +45,10 @@ export type CustomHomepageGridProps = {
* Default layout for the homepage before users have modified it.
*/
config?: LayoutConfiguration[];
/**
* Title displayed in the header of the grid. If not provided, no title will be shown.
*/
title?: string;
/**
* Height of grid row in pixels.
* @defaultValue 60