File tree Expand file tree Collapse file tree
apps/demo/src/Views/Ui/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,28 +69,28 @@ export const PageDemo = () => {
6969 subtitle = { < Tag label = { t ( "page.subTitle.tag" ) } /> }
7070 children = { PageContent }
7171 breadcrumb = { breadcrumb }
72- // toolbarActionMenu={{
73- // actions: [
74- // {
75- // iconLeft: <i className="pi pi-chevron-left"></i>,
76- // variant: "textOnly",
77- // label: t("page.breadcrumb.back"),
78- // },
79- // {
80- // label: t("page.toolbar.button.label"),
81- // severity: "secondary",
82- // onClick: () => {
83- // console.log("view action");
84- // },
85- // },
86- // {
87- // label: t("page.toolbar.edit"),
88- // onClick: () => {
89- // console.log("edit action");
90- // },
91- // },
92- // ],
93- // }}
72+ toolbarActionMenu = { {
73+ actions : [
74+ {
75+ iconLeft : < i className = "pi pi-chevron-left" > </ i > ,
76+ variant : "textOnly" ,
77+ label : t ( "page.breadcrumb.back" ) ,
78+ } ,
79+ {
80+ label : t ( "page.toolbar.button.label" ) ,
81+ severity : "secondary" ,
82+ onClick : ( ) => {
83+ console . log ( "view action" ) ;
84+ } ,
85+ } ,
86+ {
87+ label : t ( "page.toolbar.edit" ) ,
88+ onClick : ( ) => {
89+ console . log ( "edit action" ) ;
90+ } ,
91+ } ,
92+ ] ,
93+ } }
9494 />
9595 </ >
9696 ) ;
You can’t perform that action at this time.
0 commit comments