Skip to main content
Version: 57.2.0

Table date

This field displays a date. There are two kinds, annotated and default. The annotated date shows an annotation - ex, '10 days ago'.

Package: @terreno/ui
Categories: Component
Props interface: TableDateProps
Story source: demo/stories/Tabledate.stories.tsx

Live demo

Props

PropTypeRequiredDescription
valueunionYesThe date value to be displayed or edited. Can be a string or a Date object.
annotatedbooleanIf true, the date is annotated.
isEditingbooleanIf true, the component is in editing mode.
onSavereflectionThe function to call when the value is saved.