@ray-core/runtime
Version:
Ray 是一个全新的基于 React 的小程序开发框架
31 lines (30 loc) • 828 B
TypeScript
import * as React from 'react';
export interface InputProps {
readonly dataset?: DOMStringMap;
id?: string;
className?: string;
style?: React.CSSProperties;
value?: string;
name?: string;
type?: string;
password?: boolean;
placeholder?: string;
placeholderStyle?: React.CSSProperties;
placeholderClassName?: string;
disabled?: boolean;
maxLength?: number;
focus?: boolean;
confirmType?: 'done' | 'go' | 'next' | 'search' | 'send';
confirmHold?: boolean;
cursor?: number;
selectionStart?: number;
selectionEnd?: number;
randomNumber?: boolean;
controlled?: boolean;
onInput?: (e: any) => void;
onConfirm?: (e: any) => void;
onFocus?: (e: any) => void;
onBlur?: (e: any) => void;
}
declare const Input: any;
export default Input;