mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Design tweaks to add-story-button hover
This commit is contained in:
@@ -19,6 +19,7 @@ export type PropsType = {
|
||||
i18n: LocalizerType;
|
||||
moduleClassName?: string;
|
||||
onAddStory: (file?: File) => unknown;
|
||||
onContextMenuShowingChanged?: (value: boolean) => void;
|
||||
showToast: ShowToastActionCreatorType;
|
||||
};
|
||||
|
||||
@@ -28,11 +29,13 @@ export const StoriesAddStoryButton = ({
|
||||
moduleClassName,
|
||||
onAddStory,
|
||||
showToast,
|
||||
onContextMenuShowingChanged,
|
||||
}: PropsType): JSX.Element => {
|
||||
return (
|
||||
<ContextMenu
|
||||
ariaLabel={i18n('Stories__add')}
|
||||
i18n={i18n}
|
||||
onMenuShowingChanged={onContextMenuShowingChanged}
|
||||
menuOptions={[
|
||||
{
|
||||
label: i18n('Stories__add-story--media'),
|
||||
|
||||
Reference in New Issue
Block a user