Adding title prop to customHomePage
Signed-off-by: gerson <tnii.gerson@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user