react-klasha
Version:
React hooks and components for accepting payments with the Klasha payment gateway
13 lines (12 loc) • 516 B
TypeScript
import { ReactElement, ReactNode, ButtonHTMLAttributes } from 'react';
import { KlashaOptionsProps } from './types';
interface KlashaButtonProps extends KlashaOptionsProps {
text?: string;
className?: string;
children?: ReactNode;
disabled?: boolean;
type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
callBack?: Function;
}
declare const KlashaButton: ({ text, className, children, disabled, type, callBack, ...others }: KlashaButtonProps) => ReactElement;
export default KlashaButton;