@kayelaa/canvas API - v0.2.15
    Preparing search index...

    Interface GenericBoxProps

    Base props that every Kayla functional component can receive.

    Extend this interface when defining custom component props.

    interface PlayerProps extends FCProps {
    initialSpeed?: number;
    color: string;
    }
    interface GenericBoxProps {
        color: string;
        width?: number;
        height?: number;
        x?: number;
        y?: number;
        key?: string;
        children?: KaylaElement<any> | KaylaElement<any>[];
        ref?: KaylaRef<KaylaRectEntity>;
        exportsRef?: KaylaRef<KaylaExports<any>>;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index

    Properties

    color: string
    width?: number
    height?: number
    x?: number
    y?: number
    key?: string
    children?: KaylaElement<any> | KaylaElement<any>[]
    exportsRef?: KaylaRef<KaylaExports<any>>