@kryptogo/kryptogokit-sdk-react
Version:
KryptogoKit offers a comprehensive web3 wallet solution with seamless KryptoGO Auth integration and multi-wallet connection support. Designed for users. Built for developers.
24 lines (23 loc) • 858 B
TypeScript
import React, { HTMLInputTypeAttribute } from 'react';
import { type BoxProps } from '../Box/Box';
import { type TextProps } from '../Text/Text';
export type Size = 'medium' | 'large';
export declare const sizeVariants: Record<Size, {
paddingX: BoxProps['paddingX'];
paddingY: BoxProps['paddingY'];
fontSize: TextProps['size'];
height?: BoxProps['height'];
}>;
export interface InputProps {
value: string;
onChange: (value: string) => void;
size?: Size;
placeholder?: string;
type?: HTMLInputTypeAttribute;
width?: BoxProps['width'];
disabled?: boolean;
testId?: string;
className?: string;
suffixIcon?: React.ReactNode;
}
export declare function Input({ value, onChange, size, placeholder, type, width, disabled, testId, className, suffixIcon, }: InputProps): import("react/jsx-runtime").JSX.Element;