Skip to main content

Image

Examples#

Basic#

export function App() {    const src = assetsPath('Clock#6.png');    return (        <Window>            <DemoLayout width="1" height="1">                <Image src={src} />            </DemoLayout>        </Window>    );}

Usage:

picture basic

API#

export interface IImageComponentProps extends IComponentProps {    /**     * absolute path of image file or AveImage instance     */    src: string | AveImage;}