Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Jun 8, 2021
1 parent 173a3b8 commit 1a1c9dc
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions x-pack/examples/reporting_example/public/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,25 @@ export const ReportingExampleApp = ({
title: 'PDF Reports',
items: [
{ name: 'No Layout Option', icon: 'document', panel: 2 },
{ name: 'Print Layout Option', icon: 'document', panel: 3 },
{ name: 'Canvas Layout Option', icon: 'canvasApp', panel: 4 },
{ name: 'Canvas Layout Option', icon: 'canvasApp', panel: 3 },
],
},
{
id: 2,
title: 'PDF Reports',
title: 'No Layout Option',
content: (
<reporting.components.ReportingPanelPDF
getJobParams={getPDFJobParamsDefault}
onClose={closePopover}
/>
),
},
{
id: 3,
title: 'Canvas Layout Option',
content: (
<reporting.components.ReportingPanelPDF
layoutOption="canvas"
getJobParams={getPDFJobParamsDefault}
onClose={closePopover}
/>
Expand Down

0 comments on commit 1a1c9dc

Please sign in to comment.