Skip to main content

Time

Components​

The Table component family provides the following components:

DateAndTime​

A component to render date + time

You can import the DateAndTime component from the time component family in the @freesewing/react package:

Javascript
import { DateAndTime } from "@freesewing/react/components/Time"

TimeAgo​

A component to render the time delta between now and a moment in the past.

You can import the TimeAgo component from the time component family in the @freesewing/react package:

Javascript
import { TimeAgo } from "@freesewing/react/components/Time"

TimeAgoBrief​

A component to render the time delta between now and a moment in the past.

You can import the TimeAgoBrief component from the time component family in the @freesewing/react package:

Javascript
import { TimeAgoBrief } from "@freesewing/react/components/Time"

TimeToGo​

A component to render the time delta between now and a moment in the future.

You can import the TimeToGo component from the time component family in the @freesewing/react package:

Javascript
import { TimeToGo } from "@freesewing/react/components/Time"

TimeToGoBrief​

A component to render the time delta between now and a moment in the future.

You can import the TimeToGoBrief component from the time component family in the @freesewing/react package:

Javascript
import { TimeToGoBrief } from "@freesewing/react/components/Time"