UNPKG

@uiw/react-native

Version:
24 lines (23 loc) 860 B
import React from 'react'; interface LoginPageProps { /** 自定义账号输入框为空时显示的文字 */ usernamePlaceholder?: string; /** 自定义账号,密码,验证码输入框样式 */ inputContainerStyle?: object; /** 登录按钮自定义样式 */ buttonStyle?: object; /** 登录页自定义最外层样式 */ containerStyle?: object; /** 登录按钮自定义文字 */ buttonText?: string; /** 自定义忘记密码,切换登录方式 */ customContent?: React.ReactNode; /** 自定义登录logo和login文字 */ titleContent?: React.ReactNode; /** 登录按钮事件 */ onLogin?: (username: string, password: string) => void; /** 忘记密码按钮事件 */ onForgetPassword?: () => void; } declare const LoginPage: React.FC<LoginPageProps>; export default LoginPage;