You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselNavButton/__snapshots__/TeachingPopoverCarouselNavButton.test.tsx.snap
+1
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
exports[`TeachingPopoverCarouselNavButton renders a default state 1`] =`
Copy file name to clipboardExpand all lines: packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButton.tsx
Copy file name to clipboardExpand all lines: packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverHeader/TeachingPopoverHeader.types.ts
+3-2
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,11 @@ import { PopoverContextValue } from '@fluentui/react-popover';
3
3
4
4
exporttypeTeachingPopoverHeaderSlots={
5
5
/**
6
-
* The element wrapping the text and close button. By default this is an h3, but can be a div.
6
+
* The element wrapping the text and close button. By default this is an div; although it can be a heading, this should not be done.
7
+
* Instead, wrap the child text in a heading tag if one is needed.
7
8
* Be sure to include role and aria heading level if div is used.
8
9
*/
9
-
root: Slot<'h3','h1'|'h2'|'h4'|'h5'|'h6'|'div'>;
10
+
root: Slot<'div','h1'|'h2'|'h3'|'h4'|'h5'|'h6'>;
10
11
/**
11
12
* The component to be used as close button in heading
Copy file name to clipboardExpand all lines: packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverHeader/__snapshots__/TeachingPopoverHeader.test.tsx.snap
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
exports[`TeachingPopoverHeader renders a default state 1`] =`
4
4
<div>
5
-
<h3
5
+
<div
6
6
class="fui-TeachingPopoverHeader"
7
7
>
8
8
<div
@@ -45,6 +45,6 @@ exports[`TeachingPopoverHeader renders a default state 1`] = `
Copy file name to clipboardExpand all lines: packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverHeader/useTeachingPopoverHeader.tsx
Copy file name to clipboardExpand all lines: packages/react-components/react-teaching-popover/stories/src/TeachingPopover/TeachingPopoverCarousel.stories.tsx
Copy file name to clipboardExpand all lines: packages/react-components/react-teaching-popover/stories/src/TeachingPopover/TeachingPopoverCarouselAppearanceBrand.stories.tsx
Copy file name to clipboardExpand all lines: packages/react-components/react-teaching-popover/stories/src/TeachingPopover/TeachingPopoverCarouselText.stories.tsx
0 commit comments