Skip to content

Commit

Permalink
Added Popover text on import and export Closes sugarlabs#372
Browse files Browse the repository at this point in the history
  • Loading branch information
Honey2339 committed Dec 25, 2023
1 parent 5c59266 commit ed68bd9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/menu/src/view/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ export function Menu(props: TPropsMenu): JSX.Element {
<>
<>
<label className={`menu-btn ${!props.injected.flags.uploadFile ? 'menu-btn-hidden' : ''}`}>
<p className="menu-btn-label">
<span>{'Export Project'}</span>
</p>
<div className="menu-btn-img">
<SImage asset={props.injected.assets['image.icon.uploadFile']} />
</div>
Expand Down Expand Up @@ -52,6 +55,9 @@ export function Menu(props: TPropsMenu): JSX.Element {
</button>

<label className={`menu-btn ${!props.injected.flags.loadProject ? 'menu-btn-hidden' : ''}`}>
<p className="menu-btn-label">
<span>{'Import Project'}</span>
</p>
<div className="menu-btn-img">
<SImage asset={props.injected.assets['image.icon.loadProject']} />
</div>
Expand Down

0 comments on commit ed68bd9

Please sign in to comment.