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

    Interface FC<Props, Exports>

    Functional component type used across Kayla.

    Components must return zero, one, or many KaylaElements. Returning void is allowed but produces no entities.

    interface FC<
        Props extends FCProps = FCProps,
        Exports extends FCExports = FCExports,
    > {
        displayName?: string;
        (
            props: Props & {
                key?: string;
                children?: KaylaElement<any> | KaylaElement<any>[];
                ref?: KaylaRef<KaylaRectEntity>;
                exportsRef?: KaylaRef<KaylaExports<any>>;
            } & Record<string, unknown> & {
                ref?: KaylaElementRef;
                exportsRef?: KaylaRef<KaylaExports<Exports>>;
            },
        ): void
        | KaylaElement<any>
        | KaylaElement<any>[];
    }

    Type Parameters

    Index

    Properties

    Properties

    displayName?: string