fix: SVG element attributes in icons.tsx (#5871)

Update icons.tsx
This commit is contained in:
zsviczian 2022-11-14 07:12:28 +01:00 committed by GitHub
parent 640affe7c0
commit 7831b6e74b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1470,11 +1470,11 @@ export const TextAlignRightIcon = createIcon(
export const TextAlignTopIcon = React.memo(({ theme }: { theme: Theme }) => export const TextAlignTopIcon = React.memo(({ theme }: { theme: Theme }) =>
createIcon( createIcon(
<g <g
stroke-width="1.5" strokeWidth="1.5"
stroke="currentColor" stroke="currentColor"
fill="none" fill="none"
stroke-linecap="round" strokeLinecap="round"
stroke-linejoin="round" strokeLinejoin="round"
> >
<path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path stroke="none" d="M0 0h24v24H0z" fill="none" />
<line x1="4" y1="4" x2="20" y2="4" /> <line x1="4" y1="4" x2="20" y2="4" />
@ -1488,11 +1488,11 @@ export const TextAlignTopIcon = React.memo(({ theme }: { theme: Theme }) =>
export const TextAlignBottomIcon = React.memo(({ theme }: { theme: Theme }) => export const TextAlignBottomIcon = React.memo(({ theme }: { theme: Theme }) =>
createIcon( createIcon(
<g <g
stroke-width="2" strokeWidth="2"
stroke="currentColor" stroke="currentColor"
fill="none" fill="none"
stroke-linecap="round" strokeLinecap="round"
stroke-linejoin="round" strokeLinejoin="round"
> >
<path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path stroke="none" d="M0 0h24v24H0z" fill="none" />
<line x1="4" y1="20" x2="20" y2="20" /> <line x1="4" y1="20" x2="20" y2="20" />
@ -1506,11 +1506,11 @@ export const TextAlignBottomIcon = React.memo(({ theme }: { theme: Theme }) =>
export const TextAlignMiddleIcon = React.memo(({ theme }: { theme: Theme }) => export const TextAlignMiddleIcon = React.memo(({ theme }: { theme: Theme }) =>
createIcon( createIcon(
<g <g
stroke-width="1.5" strokeWidth="1.5"
stroke="currentColor" stroke="currentColor"
fill="none" fill="none"
stroke-linecap="round" strokeLinecap="round"
stroke-linejoin="round" strokeLinejoin="round"
> >
<path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path stroke="none" d="M0 0h24v24H0z" fill="none" />
<line x1="4" y1="12" x2="9" y2="12" /> <line x1="4" y1="12" x2="9" y2="12" />