Saltar al contenido
CtrlK

ArdoHeroImage

En esta página
Esta referencia de la API se genera a partir de los comentarios de TypeScript en inglés. Los nombres, las firmas y los ejemplos corresponden al paquete publicado.
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