Sanity Library Reference Docs
    Preparing search index...

    A workflow event's timestamp and the clock used to display its age.

    interface AgoStampProps {
        at: string;
        now: Date;
    }
    Index

    Properties

    Properties

    at: string

    ISO timestamp. Invalid timestamps display an em dash.

    now: Date

    Update this value to refresh the age; the component owns no timer.