Delete button

  • Parameters

    • props: IProps

      Props

      Props list:

      • disabled (boolean) Set disabled state
      • loading (boolean) Set loading state
      • bordered (boolean) Set border
      • text (string) DeleteDialog text
      • title (string) DeleteDialog title
      • children (React child) Button children
      • onDelete (async Function) DeleteDialog click (this function can throw an error)

    Returns ReactNode | Promise<ReactNode>

    DeleteButton