reducers typescripting

This commit is contained in:
muerwre 2019-02-12 12:26:04 +07:00
parent 4c6526efc9
commit 85b8860862
15 changed files with 496 additions and 316 deletions

15
src/constants/logos.ts Normal file
View file

@ -0,0 +1,15 @@
export interface ILogos {
[x: string]: [string, string, string],
}
export const LOGOS = {
default: ['Без лого', null, 'bottom-right'],
nvs: ['НВС', require('../sprites/logos/lgo.png'), 'bottom-right'],
pinmix: ['Пин-Микс', require('../sprites/logos/pin-mix.png'), 'top-right'],
jolly: ['Пин-Микс + JW', require('../sprites/logos/jw.png'), 'top-right'],
pedals: ['Усталые Педальки', require('../sprites/logos/pedals.png'), 'bottom-right'],
rider: ['Райдер', require('../sprites/logos/rider.png'), 'bottom-right'],
rider_evening: ['Вечерние городские', require('../sprites/logos/rider_evening.png'), 'top-right'],
};
export const DEFAULT_LOGO = 'nvs';