Design tweaks to add-story-button hover
This commit is contained in:
parent
810cbb5fe5
commit
2278bf2994
6 changed files with 26 additions and 12 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue