mirror of
https://github.com/VSCodium/icons.git
synced 2025-12-09 19:43:16 -06:00
fix: typing
This commit is contained in:
parent
306dde0a86
commit
6cf119c1d5
@ -13,16 +13,22 @@ function Icons({ platform, background, color, shape, bgColor, overlay }: { platf
|
||||
<div className="flex flex-row items-end gap-8 p-8 relative">
|
||||
<img
|
||||
src={src}
|
||||
alt="32px"
|
||||
width="32"
|
||||
/>
|
||||
height="32"
|
||||
/>
|
||||
<img
|
||||
src={src}
|
||||
alt="64px"
|
||||
width="64"
|
||||
/>
|
||||
height="64"
|
||||
/>
|
||||
<img
|
||||
src={src}
|
||||
alt="128px"
|
||||
width="128"
|
||||
/>
|
||||
height="128"
|
||||
/>
|
||||
{/* { overlay && <div className={`${styles[`overlay${color}`]} absolute left-0 top-0 w-full h-full`}></div> } */}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -11,7 +11,7 @@ import shapes from '@/config/shapes.json'
|
||||
import colors from '@/config/colors.json'
|
||||
import backgrounds from '@/config/backgrounds.json'
|
||||
|
||||
function isLimited(limits: { backgrounds: string[] | undefined; colors: string[] | undefined } | undefined, background: string, color: string) { // {{{
|
||||
function isLimited(limits: { backgrounds?: string[]; colors?: string[] } | undefined, background: string, color: string) { // {{{
|
||||
if(!limits) {
|
||||
return false
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user