summaryrefslogtreecommitdiff
path: root/src/Actions/settings.ts
blob: ef18c9e1f1f67f55088059dbb45bbe4472f12d8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { Region } from "react-native-maps";

const settings = {
    'setLevelFrom': (level: Number) => ({
        type: 'setLevelFrom',
        level
    }),
    'setLevelTo': (level: Number) => ({
        type: 'setLevelTo',
        level
    }),
    'setRegion': (region: Region) => ({
        type: 'setRegion',
        region
    })
}
export default settings