Aller au contenu
CtrlK

ArdoHeroImage

Sur cette page
Cette référence API est générée à partir des commentaires TypeScript en anglais. Les noms, signatures et exemples correspondent au paquet publié.
import type { ArdoHeroImage } from "ardo/ui"

type ArdoHeroImage = {
    /** Image for light mode */
    light: string;
    /** Image for dark mode */
    dark?: string;
    /** Alt text for the image */
    alt?: string;
};

Properties

NameTypeRequiredDescription
lightstringYesImage for light mode
darkstringNoImage for dark mode
altstringNoAlt text for the image