1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-19 04:51:13 +02:00

add assets modal

This commit is contained in:
Kushagra Gour
2023-08-16 18:20:06 +05:30
parent e8272656f2
commit d267377ead
4 changed files with 163 additions and 1 deletions

View File

@@ -38,6 +38,17 @@ export function MainHeader(props) {
</button>
)}
<Button
onClick={props.assetsBtnHandler}
data-event-category="ui"
data-event-action="addLibraryButtonClick"
data-testid="addLibraryButton"
class="btn btn--dark hint--rounded hint--bottom-left"
aria-label={i18n._(t`Upload/Use assets`)}
>
<Trans>Assets</Trans>{' '}
</Button>
{!props.isFileMode && (
<Button
onClick={props.addLibraryBtnHandler}