react-native-chating-ui-kit
Version:
CometChat React Native UI Kit is a collection of custom UI Components designed to build text , chat and calling features in your application. The UI Kit is developed to keep developers in mind and aims to reduce development efforts significantly
19 lines • 614 B
JavaScript
import { DateStyle } from './DateStyle';
/**
* @class DateConfiguration
* @description DateConfiguration class is used for defining the Date template.
*/
export class DateConfiguration {
pattern;
style;
/**
* @param {Object} param0
* @field pattern - pattern in which time should be displayed. One of ["timeFormat","dayDateFormat","dayDateTimeFormat"]
* @field style - Object of DateStyle
*/
constructor({ style = new DateStyle({}), pattern = 'timeFormat', }) {
this.pattern = pattern;
this.style = style;
}
}
//# sourceMappingURL=DateConfiguration.js.map