Private
Public Access
1
0
Files

17 lines
832 B
JavaScript

'use client';
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';