UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

17 lines 663 B
import { ButtonProps } from '@mui/material'; import { ConfirmationDialogProps } from '../ConfirmationDialog'; export type RevokeCertificationUIOptions = { userId: string; buttonProps: Omit<ButtonProps, 'onClick'>; }; export type RevokeCertificationUIReturn = { showButton: boolean; buttonProps: ButtonProps; confirmationDialogProps: ConfirmationDialogProps; }; /** * Hook that provides UI data and props related to revoking a user's certification. * @param options */ export default function useRevokeCertificationUI(options: RevokeCertificationUIOptions): RevokeCertificationUIReturn; //# sourceMappingURL=useRevokeCertificationUI.d.ts.map