fix: Add icons to menu items (#2373)

Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
Saumya Pandey
2021-08-14 02:51:25 +05:30
committed by GitHub
parent 1db31eed41
commit 2c52a8cb8b
13 changed files with 242 additions and 162 deletions

View File

@@ -37,9 +37,9 @@ function TemplatesMenu({ document }: Props) {
<MenuItem
key={template.id}
onClick={() => document.updateFromTemplate(template)}
icon={<DocumentIcon />}
{...menu}
>
<DocumentIcon />
<TemplateItem>
<strong>{template.titleWithDefault}</strong>
<br />