@mocanvas/editor · type

RecordProps

type RecordProps<R extends {
    props: object;
}> = {
    [K in keyof R["props"]]: RecordPropValidator<R["props"][K]>;
}

The static props map of a shape or binding util: one validator per prop of the record it describes.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.