Files
2025-03-07 19:22:02 +01:00

15 lines
743 B
JavaScript

import * as React from 'react';
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
import { useDrawerFooter_unstable } from './useDrawerFooter';
import { renderDrawerFooter_unstable } from './renderDrawerFooter';
import { useDrawerFooterStyles_unstable } from './useDrawerFooterStyles.styles';
/**
* DrawerFooter provides a structured footer for the drawer component.
*/ export const DrawerFooter = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useDrawerFooter_unstable(props, ref);
useDrawerFooterStyles_unstable(state);
useCustomStyleHook_unstable('useDrawerFooterStyles_unstable')(state);
return renderDrawerFooter_unstable(state);
});
DrawerFooter.displayName = 'DrawerFooter';