Sanity Library Reference Docs
    Preparing search index...

    Interface RenderBlockActionsProps

    Props for rendering block actions

    use renderBlock, renderInlineBlock, renderAnnotation interfaces instead

    interface RenderBlockActionsProps {
        block: PortableTextBlock;
        insert: (block: PortableTextBlock | PortableTextBlock[]) => void;
        set: (block: PortableTextBlock) => void;
        unset: () => void;
        value: PortableTextBlock[];
    }
    Index

    Properties

    insert: (block: PortableTextBlock | PortableTextBlock[]) => void
    set: (block: PortableTextBlock) => void
    unset: () => void