如何更改反应的ui组件中的字段提示以放大传递给他一个功能组件
我正在尝试这个
<AmplifySignIn
slot="sign-in"
usernameAlias="email"
headerText="Iniciar sesión"
submitButtonText="Iniciar sesión"
formFields={[
{
type: "email",
label: "Email",
placeholder: "usuario@email.com",
required: true,
},
{
type: "password",
label: "Contraseña",
placeholder: "contraseña",
required: true,
hint: <LabelResetPass />,
},
]}
></AmplifySignIn>
但是对于提示字段它无法识别它