react-native-lightspeedsdk
Version:
A react-native interface for using the LightspeedSDK
26 lines (23 loc) • 549 B
JavaScript
type TileContentMap = {
mainTitle : string,
subTitle : string,
descMainTitle : string,
descSubTitle : string,
icon : string
}
class TileContent {
mainTitle : string;
subTitle : string;
descMainTitle : string;
descSubTitle : string;
icon : string;
constructor(map: TileContentMap) {
this.mainTitle = map.mainTitle;
this.subTitle = map.subTitle;
this.descMainTitle = map.descMainTitle;
this.descSubTitle = map.descSubTitle;
this.icon = map.icon;
Object.freeze(this);
}
}
module.exports = TileContent;