import React from 'react';

import { forwardRef } from '../utils/react';
import { ButtonGroup, ButtonGroupProps } from '../button-group';

export interface DialogActionsProps extends ButtonGroupProps {}

export const DialogActions = forwardRef<'div', DialogActionsProps>(
  function DialogActions(props, ref) {
    return <ButtonGroup {...props} ref={ref} />;
  },
);
