Skip to content

Commit 062f551

Browse files
authored
docs(Popover): use correct design for Bars (#5402)
1 parent 7e1965d commit 062f551

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/main/src/webComponents/Popover/Popover.stories.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { ArgsTableWithNote, DocsHeader, DomRefTable, Footer } from '@sb/componen
22
import Description from './PopoverDescription.md?raw';
33
import { Canvas, Markdown, Meta, Story } from '@storybook/blocks';
44
import '@ui5/webcomponents-icons/dist/settings.js';
5-
import { BarChart, MicroBarChart } from '@ui5/webcomponents-react-charts';
65
import { useState } from 'react';
76
import { PopoverHorizontalAlign } from '../../enums/PopoverHorizontalAlign';
87
import { PopoverPlacementType } from '../../enums/PopoverPlacementType';
98
import { PopoverVerticalAlign } from '../../enums/PopoverVerticalAlign';
9+
import { BarDesign } from '../../enums/BarDesign';
1010
import { Bar } from '../Bar';
1111
import { Button } from '../Button';
1212
import { MessageStrip } from '../MessageStrip';
@@ -237,11 +237,11 @@ const PopoverComponent = () => {
237237
onAfterClose={handleClose}
238238
className={clsx('headerPartNoPadding', args.className)}
239239
header={
240-
<Bar endContent={<Icon name="settings" />}>
240+
<Bar endContent={<Icon name="settings" />} design={BarDesign.Header}>
241241
<Title>Popover</Title>
242242
</Bar>
243243
}
244-
footer={<Bar endContent={<Button onClick={handleClose}>Close</Button>} />}
244+
footer={<Bar endContent={<Button onClick={handleClose}>Close</Button>} design={BarDesign.Footer} />}
245245
>
246246
<List style={{ width: '200px' }}>
247247
<StandardListItem additionalText="3">List Item 1</StandardListItem>

0 commit comments

Comments
 (0)