chore(website): move around static label

This commit is contained in:
iCrawl 2023-04-14 10:33:20 +02:00
parent e4c5f794b0
commit d35f670d7a
No known key found for this signature in database
GPG key ID: 1AB888B16355FBB2

View file

@ -38,6 +38,11 @@ export function Property({
Deprecated
</div>
) : null}
{(item as ApiProperty).isStatic ? (
<div className="h-5 flex flex-row place-content-center place-items-center rounded-full bg-blurple px-3 text-center text-xs font-semibold uppercase text-white">
Static
</div>
) : null}
{item.isReadonly ? (
<div className="h-5 flex flex-row place-content-center place-items-center rounded-full bg-blurple px-3 text-center text-xs font-semibold uppercase text-white">
Readonly
@ -48,11 +53,6 @@ export function Property({
Optional
</div>
) : null}
{(item as ApiProperty).isStatic ? (
<div className="h-5 flex flex-row place-content-center place-items-center rounded-full bg-blurple px-3 text-center text-xs font-semibold uppercase text-white">
Static
</div>
) : null}
</div>
) : null}
<div className="flex flex-row flex-wrap place-items-center gap-1">