Outgoing call: Show safety number dialog if change detected

This commit is contained in:
Josh Perez 2020-08-26 16:30:10 -04:00 committed by Josh Perez
parent 45d829e439
commit 25dabd56fd
6 changed files with 61 additions and 12 deletions

View file

@ -64,6 +64,21 @@ storiesOf('Components/SafetyNumberChangeDialog', module)
/>
);
})
.add('Different Confirmation Text', () => {
return (
<SafetyNumberChangeDialog
confirmText="You are awesome"
contacts={[contactWithAllData]}
i18n={i18n}
onCancel={action('cancel')}
onConfirm={action('confirm')}
renderSafetyNumber={() => {
action('renderSafetyNumber');
return <div>This is a mock Safety Number View</div>;
}}
/>
);
})
.add('Multi Contact Dialog', () => {
return (
<SafetyNumberChangeDialog