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

    Interface ProviderProps<Context>

    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 ProviderProps<Context> {
        key?: string;
        children?: KaylaElement<any> | KaylaElement<any>[];
        ref?: KaylaRef<KaylaRectEntity>;
        exportsRef?: KaylaRef<KaylaExports<any>>;
        value?: Context;
        [key: string]: unknown;
    }

    Type Parameters

    • Context

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index

    Properties

    key?: string
    children?: KaylaElement<any> | KaylaElement<any>[]
    exportsRef?: KaylaRef<KaylaExports<any>>
    value?: Context