Skip to content

Properties

PropertyTypeDescription
valueDate
string
(optional) The date that will be formatted.
dateStylelong
medium
short
full
(optional) Defines the style used to format the date. Defaults to long.
localestring(optional) A string in Intl.DateTimeFormat locale format. Defaults to nb-NO.
skeletonboolean(optional) If set to true, an overlaying skeleton with animation will be shown.
Spacestring
object
(optional) Spacing properties like top or bottom are supported.