@hyext-beyond/hy-ui-native
Version:
A native lib polyfill for huya miniapp
17 lines (16 loc) • 480 B
TypeScript
/// <reference types="react" />
import { TextStyle, ViewStyle, ViewProps, TextProps } from "react-native";
type InputProps = {
value: string;
placeholder?: string;
onChange: (v: any) => void;
maxLength?: number;
style?: ViewStyle;
maxValue?: number;
inputStyle?: TextStyle;
placeholderTextColor?: string;
containerProps?: ViewProps;
contentProps?: TextProps;
};
export declare function MockInput(props: InputProps): JSX.Element;
export {};