Process incoming story messages

This commit is contained in:
Josh Perez
2022-03-04 16:14:52 -05:00
committed by GitHub
parent df7cdfacc7
commit eb91eb6fec
84 changed files with 4382 additions and 652 deletions

View File

@@ -1,4 +1,4 @@
// Copyright 2021 Signal Messenger, LLC
// Copyright 2021-2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import React from 'react';
@@ -19,21 +19,20 @@ const getDefaultProps = (): PropsType<number> => ({
menuOptions: [
{
label: '1',
value: 1,
onClick: action('1'),
},
{
label: '2',
value: 2,
onClick: action('2'),
},
{
label: '3',
value: 3,
onClick: action('3'),
},
],
onChange: action('onChange'),
value: 1,
});
// TODO DESKTOP-3184
story.add('Default', () => {
return <ContextMenu {...getDefaultProps()} />;
});