mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-04-06 01:25:33 +00:00
Merge branch 'dynamic-marker-icons' of github.com:utopia-os/utopia-ui into dynamic-marker-icons
This commit is contained in:
commit
b88fecbbc0
@ -180,7 +180,7 @@ export const SearchControl = () => {
|
|||||||
{item.layer?.menuIcon ? (
|
{item.layer?.menuIcon ? (
|
||||||
<SVG
|
<SVG
|
||||||
src={item.layer.menuIcon}
|
src={item.layer.menuIcon}
|
||||||
className='tw:text-current tw:mr-2 tw:mt-0 tw:w-5'
|
className='tw:text-current tw:mr-2 tw:mt-0 tw:w-5 tw:h-5'
|
||||||
preProcessor={(code: string): string => {
|
preProcessor={(code: string): string => {
|
||||||
code = code.replace(/fill=".*?"/g, 'fill="currentColor"')
|
code = code.replace(/fill=".*?"/g, 'fill="currentColor"')
|
||||||
code = code.replace(/stroke=".*?"/g, 'stroke="currentColor"')
|
code = code.replace(/stroke=".*?"/g, 'stroke="currentColor"')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user