{
    "componentChunkName": "component---src-layouts-react-component-layout-tsx",
    "path": "/components/relative-time/react",
    "result": {"data":{"primerReactVersion":{"version":"35.26.0"},"sitePage":{"path":"/components/relative-time","context":{"frontmatter":{"title":"Relative time","description":"Relative time displays time in a way that is clear, concise, and accessible.","reactId":"relative_time","railsId":"Primer::Beta::RelativeTime","figmaId":null}}},"reactComponent":{"name":"RelativeTime","status":"alpha","a11yReviewed":false,"stories":[{"id":"components-relativetime--default","code":"() => <RelativeTime date={new Date('2020-01-01T00:00:00Z')} />"}],"props":[{"name":"datetime","type":"string","description":"An ISO8601 time representing the time","defaultValue":"","required":true,"deprecated":null},{"name":"date","type":"string","description":"Instead of passing the `datetime`, it is possible to pass a full `Date` object into the `date` prop","defaultValue":"","required":null,"deprecated":null},{"name":"format","type":"'auto' | 'micro' | 'elapsed'","description":"The format with which to display the time","defaultValue":"'auto'","required":null,"deprecated":null},{"name":"tense","type":"'auto' | 'past' | 'future'","description":"The tense to use when displaying a relative time","defaultValue":"'auto'","required":null,"deprecated":null},{"name":"precision","type":"'year' | 'month' | 'day' | 'hour' | 'minute' | 'second'","description":"The precision to use when displaying an elapsed time","defaultValue":"'second'","required":null,"deprecated":null},{"name":"threshold","type":"string","description":"The threshold (ISO8601 duration) to display relative dates within","defaultValue":"'P30D'","required":null,"deprecated":null},{"name":"prefix","type":"string","description":"The prefix to use when displaying a localised (non relative) date","defaultValue":"'on'","required":null,"deprecated":null},{"name":"second","type":"'numeric' | '2-digit'","description":"The format with which to render seconds","defaultValue":"","required":null,"deprecated":null},{"name":"minute","type":"'numeric' | '2-digit'","description":"The format with which to render minutes","defaultValue":"","required":null,"deprecated":null},{"name":"hour","type":"'numeric' | '2-digit'","description":"The format with which to render hours","defaultValue":"","required":null,"deprecated":null},{"name":"weekday","type":"'short' | 'long' | 'narrow'","description":"The format with which to render weekdays","defaultValue":"","required":null,"deprecated":null},{"name":"day","type":"'numeric' | '2-digit'","description":"The format with which to render days","defaultValue":"","required":null,"deprecated":null},{"name":"month","type":"'numeric' | '2-digit' | 'short' | 'long' | 'narrow'","description":"The format with which to render months","defaultValue":"'numeric'","required":null,"deprecated":null},{"name":"year","type":"'numeric' | '2-digit'","description":"The format with which to render years","defaultValue":"","required":null,"deprecated":null},{"name":"timeZoneName","type":"'long' | 'short' | 'shortOffset' | 'longOffset' | 'shortGeneric' | 'longGeneric'","description":"The format with which to render the time zone","defaultValue":"","required":null,"deprecated":null},{"name":"ref","type":"React.RefObject<RelativeTimeElement>","description":null,"defaultValue":null,"required":null,"deprecated":null},{"name":"as","type":"React.ElementType","description":null,"defaultValue":"\"relative-time\"","required":null,"deprecated":null},{"name":"sx","type":"SystemStyleObject","description":null,"defaultValue":null,"required":null,"deprecated":null}],"subcomponents":[]}},"pageContext":{"componentId":"relative_time","parentPath":"/components/relative-time"}},
    "staticQueryHashes": ["2468112454","2745756513","2790671566","3907230164"]}