Sanity Library Reference Docs
    Preparing search index...

    Interface DocumentComponentsBeta

    interface DocumentComponents {
        diff?: ComponentType<any>;
        field?: ComponentType<ObjectFieldProps<Record<string, unknown>>>;
        input?: ComponentType<
            ObjectInputProps<Record<string, any>, ObjectSchemaType>,
        >;
        item?: ComponentType<ObjectItemProps<ObjectItem>>;
        preview?: ComponentType<PreviewProps<PreviewLayoutKey>>;
    }
    Index

    Properties

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