UNPKG

go-captcha-react

Version:

GoCaptcha for React, which implements click mode, slider mode, drag-drop mode and rotation mode.

18 lines (17 loc) 516 B
/** * @Author Awen * @Date 2024/06/01 * @Email wengaolng@gmail.com **/ import React from "react"; import { ButtonConfig } from "./meta/config"; export declare type ButtonType = "default" | "warn" | "error" | "success"; export interface Props extends React.HTMLAttributes<HTMLElement> { config?: ButtonConfig; clickEvent?: () => void; disabled?: boolean; type?: ButtonType; title?: string; } declare const _default: React.NamedExoticComponent<Props>; export default _default;