summaryrefslogtreecommitdiff
path: root/app_expo/components/wallpaper/wallpaper.props.ts
blob: 9d97f123258c5aa3c9a9923ab5625ab4e3c3562d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { ImageStyle, StyleProp } from 'react-native'
import { WallpaperPresets } from './wallpaper.presets'

export interface WallpaperProps {
  /**
   * An optional style override useful for padding & margin.
   */
  style?: StyleProp<ImageStyle>

  /**
   * An optional background image to override the default image.
   */
  backgroundImage?: string

  /**
   * One of the different types of wallpaper presets.
   */
  preset?: WallpaperPresets
}