Sanity Library Reference Docs
    Preparing search index...

    Interface BooleanDefinition

    interface BooleanDefinition {
        components?: BooleanComponents;
        deprecated?: DeprecatedProperty;
        description?: string | Element;
        hidden?: ConditionalProperty;
        icon?: ReactNode | ComponentType<{}>;
        initialValue?: InitialValueProperty<any, boolean>;
        name: string;
        options?: BooleanOptions;
        readOnly?: ConditionalProperty;
        title?: string;
        type: "boolean";
        validation?: ValidationBuilder<BooleanRule, boolean>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    components?: BooleanComponents
    deprecated?: DeprecatedProperty
    description?: string | Element
    icon?: ReactNode | ComponentType<{}>
    initialValue?: InitialValueProperty<any, boolean>
    name: string
    options?: BooleanOptions
    title?: string
    type: "boolean"
    validation?: ValidationBuilder<BooleanRule, boolean>