16 lines
757 B
JavaScript
16 lines
757 B
JavaScript
'use client';
|
|
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';
|