Open
Description
This issue is related to the amplify-ui@next
for React.
At the moment styling the show password button of a PasswordField
component requires reaching out to CSS (at least as far as I could find/manage) and it would be really handy if it'd be possible to style the button in a similar way to the one available for the descriptiveText
prop:
<PasswordField
label="Password"
name="password"
showPasswordButton={
<Button color="rebeccapurple" fontStyle="italic" fontSize="0.8rem" />
}
/>
Alternatively it'd be great to even just be able to pass specific props to override the default ones like this:
<PasswordField
label="Password"
name="password"
showPasswordButtonProps={
color: "rebeccapurple",
fontStyle: "italic",
fontSize: "0.8rem"
}
/>
Activity