@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
34 lines (33 loc) • 1.07 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.DateFormatProperties = void 0;
const DateFormatProperties = exports.DateFormatProperties = {
value: {
doc: 'The date that will be formatted.',
type: ['Date', 'string'],
status: 'optional'
},
dateStyle: {
doc: 'Defines the style used to format the date. Defaults to `long`.',
type: ['long', 'medium', 'short', 'full'],
status: 'optional'
},
locale: {
doc: 'A string in [Intl.DateTimeFormat locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument) format. Defaults to `nb-NO`.',
type: 'string',
status: 'optional'
},
skeleton: {
doc: 'If set to `true`, an overlaying skeleton with animation will be shown.',
type: 'boolean',
status: 'optional'
},
'[Space](/uilib/layout/space/properties)': {
doc: 'Spacing properties like `top` or `bottom` are supported.',
type: ['string', 'object'],
status: 'optional'
}
};
//# sourceMappingURL=DateFormatDocs.js.map