2
0

Add icon picker (#496)

Closes #495
This commit is contained in:
Baptiste Arnaud
2023-05-11 10:32:33 -04:00
committed by GitHub
parent 36bec36775
commit 9abc50dce5
1404 changed files with 1587 additions and 30 deletions

View File

@@ -322,3 +322,6 @@ export const getAtPath = <T>(obj: T, path: string): unknown => {
export const parseGroupTitle = (title: string) =>
isEmpty(title) ? 'Untitled' : title
export const isSvgSrc = (src: string | undefined) =>
src?.startsWith('data:image/svg') || src?.endsWith('.svg')