We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7397728 commit 17976e4Copy full SHA for 17976e4
1 file changed
packages/react-components/react-headless-components-preview/library/src/components/Accordion/AccordionPanel/renderAccordionPanel.ts
@@ -1,11 +1,12 @@
1
import { renderAccordionPanel_unstable } from '@fluentui/react-accordion';
2
import type { AccordionPanelState as FluentAccordionPanelState } from '@fluentui/react-accordion';
3
+import type { JSXElement } from '@fluentui/react-utilities';
4
5
import type { AccordionPanelState } from './AccordionPanel.types';
6
7
/**
8
* Renders the final JSX of the AccordionPanel component, given the state.
9
*/
-export const renderAccordionPanel = (state: AccordionPanelState) => {
10
+export const renderAccordionPanel = (state: AccordionPanelState): JSXElement => {
11
return renderAccordionPanel_unstable(state as FluentAccordionPanelState);
12
};
0 commit comments