mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
plusbutton - plus
This commit is contained in:
parent
2bf32293f8
commit
62e302c73c
@ -1,5 +1,7 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-call */
|
||||
import PlusIcon from '@heroicons/react/24/outline/PlusIcon'
|
||||
|
||||
import { useHasUserPermission } from '#components/Map/hooks/usePermissions'
|
||||
|
||||
import type { LayerProps } from '#types/LayerProps'
|
||||
@ -28,16 +30,7 @@ export function PlusButton({
|
||||
}}
|
||||
style={{ backgroundColor: color, color: '#fff' }}
|
||||
>
|
||||
<svg
|
||||
xmlns='http://www.w3.org/2000/svg'
|
||||
fill='none'
|
||||
viewBox='0 0 24 24'
|
||||
strokeWidth='2'
|
||||
stroke='currentColor'
|
||||
className='tw-w-5 tw-h-5'
|
||||
>
|
||||
<path strokeLinecap='round' strokeLinejoin='round' d='M12 4.5v15m7.5-7.5h-15' />
|
||||
</svg>
|
||||
<PlusIcon className='tw-w-5 tw-h-5' />
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user