Files
powerpoint-toolbox/node_modules/@fluentui/react-dialog/lib/components/DialogActions/DialogActions.js
T
2025-03-07 19:22:02 +01:00

16 lines
818 B
JavaScript

import * as React from 'react';
import { useDialogActions_unstable } from './useDialogActions';
import { renderDialogActions_unstable } from './renderDialogActions';
import { useDialogActionsStyles_unstable } from './useDialogActionsStyles.styles';
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
/**
* `DialogActions` is a container for the actions of the dialog.
* Apart from styling, this component does not have other behavior.
*/ export const DialogActions = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useDialogActions_unstable(props, ref);
useDialogActionsStyles_unstable(state);
useCustomStyleHook_unstable('useDialogActionsStyles_unstable')(state);
return renderDialogActions_unstable(state);
});
DialogActions.displayName = 'DialogActions';