Skip to content

Commit 17976e4

Browse files
committed
add missing return type
1 parent 7397728 commit 17976e4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/react-components/react-headless-components-preview/library/src/components/Accordion/AccordionPanel
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import { renderAccordionPanel_unstable } from '@fluentui/react-accordion';
22
import type { AccordionPanelState as FluentAccordionPanelState } from '@fluentui/react-accordion';
3+
import type { JSXElement } from '@fluentui/react-utilities';
34

45
import type { AccordionPanelState } from './AccordionPanel.types';
56

67
/**
78
* Renders the final JSX of the AccordionPanel component, given the state.
89
*/
9-
export const renderAccordionPanel = (state: AccordionPanelState) => {
10+
export const renderAccordionPanel = (state: AccordionPanelState): JSXElement => {
1011
return renderAccordionPanel_unstable(state as FluentAccordionPanelState);
1112
};

0 commit comments

Comments
 (0)