Sanity Library Reference Docs
    Preparing search index...

    Interface ObjectComponentsBeta

    interface ObjectComponents {
        annotation?: ComponentType<BlockAnnotationProps>;
        block?: ComponentType<BlockProps>;
        diff?: ComponentType<any>;
        field?: ComponentType<ObjectFieldProps<Record<string, unknown>>>;
        inlineBlock?: ComponentType<BlockProps>;
        input?: ComponentType<
            ObjectInputProps<Record<string, any>, ObjectSchemaType>,
        >;
        item?: ComponentType<ObjectItemProps<ObjectItem>>;
        preview?: ComponentType<PreviewProps<PreviewLayoutKey>>;
    }
    Index

    Properties

    annotation?: ComponentType<BlockAnnotationProps>
    block?: ComponentType<BlockProps>
    diff?: ComponentType<any>
    field?: ComponentType<ObjectFieldProps<Record<string, unknown>>>
    inlineBlock?: ComponentType<BlockProps>
    input?: ComponentType<ObjectInputProps<Record<string, any>, ObjectSchemaType>>
    item?: ComponentType<ObjectItemProps<ObjectItem>>
    preview?: ComponentType<PreviewProps<PreviewLayoutKey>>