@portabletext/types - v2.0.15
    Preparing search index...

    Interface PortableTextMarkDefinition

    A mark definition holds information for marked text. For instance, a text span could reference a mark definition for a hyperlink, a geoposition, a reference to a document or anything that is representable as a JSON object.

    interface PortableTextMarkDefinition {
        _type: string;
        _key: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Unknown properties

    Index

    Properties

    Properties

    _type: string

    Identifies the type of mark this is, and is used to pick the correct React components to use when rendering a text span marked with this mark type.

    _key: string

    Uniquely identifies this mark definition within the block