IconDescriptor
An image of an icon or of a social card.
An image of an icon or of a social card.
Import#
ts
import type { IconDescriptor } from "@shadow-js/dusk";
Signature#
ts
interface IconDescriptor {
readonly url: MetadataUrl;
readonly type?: string;
readonly sizes?: string;
readonly media?: string;
readonly color?: string;
readonly rel?: string;
}
Members#
| Name | Type | Description |
|---|---|---|
url |
readonly url: MetadataUrl |
|
type? |
readonly type?: string |
|
sizes? |
readonly sizes?: string |
|
media? |
readonly media?: string |
|
color? |
readonly color?: string |
|
rel? |
readonly rel?: string |