Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanabrooks committed Oct 26, 2022
1 parent f01f44a commit 659deb2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const props = {
resendCode: noop,
};

storiesOf('ConfirmSignUp', module)
storiesOf('Authenticator.ConfirmSignUp', module)
.add('default', () => <Authenticator.ConfirmSignUp {...props} />)
.add('with error', () => (
<Authenticator.ConfirmSignUp {...props} error={'Error!'} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import { authenticatorTextUtil } from '@aws-amplify/ui';
import { ConfirmSignUp } from '..';

const props = {
codeDeliveryDetails: undefined,
codeDeliveryDetails: {
AttributeName: 'email',
DeliveryMedium: 'EMAIL',
Destination: 'a***@e***.com',
},
fields: [],
Footer: ConfirmSignUp.Footer,
FormFields: ConfirmSignUp.FormFields,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ interface SignUpStyle {
buttonPrimaryLabel: TextStyle;
buttonSecondary: TextStyle;
buttonSecondaryLabel: TextStyle;
errorMessage: ViewStyle;
}

export const styles: SignUpStyle = StyleSheet.create({
Expand All @@ -21,7 +20,4 @@ export const styles: SignUpStyle = StyleSheet.create({
paddingVertical: 12,
},
buttonSecondaryLabel: { color: 'teal' },
errorMessage: {
marginBottom: 16,
},
});

0 comments on commit 659deb2

Please sign in to comment.