Sanity Library Reference Docs
    Preparing search index...

    Interface SlugDefinition

    interface SlugDefinition {
        components?: SlugComponents;
        deprecated?: DeprecatedProperty;
        description?: string | Element;
        hidden?: ConditionalProperty;
        icon?: ReactNode | ComponentType<{}>;
        initialValue?: InitialValueProperty<any, Omit<SlugValue, "_type">>;
        name: string;
        options?: SlugOptions;
        readOnly?: ConditionalProperty;
        title?: string;
        type: "slug";
        validation?: ValidationBuilder<SlugRule, SlugValue>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    components?: SlugComponents
    deprecated?: DeprecatedProperty
    description?: string | Element
    icon?: ReactNode | ComponentType<{}>
    initialValue?: InitialValueProperty<any, Omit<SlugValue, "_type">>
    name: string
    options?: SlugOptions
    title?: string
    type: "slug"