diff options
Diffstat (limited to 'app/components/wallpaper/wallpaper.tsx')
-rw-r--r-- | app/components/wallpaper/wallpaper.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/components/wallpaper/wallpaper.tsx b/app/components/wallpaper/wallpaper.tsx index 7aaad37..f5e24f1 100644 --- a/app/components/wallpaper/wallpaper.tsx +++ b/app/components/wallpaper/wallpaper.tsx @@ -1,7 +1,7 @@ -import React from "react" -import { AutoImage as Image } from "../auto-image/auto-image" -import { presets } from "./wallpaper.presets" -import { WallpaperProps } from "./wallpaper.props" +import React from 'react' +import { AutoImage as Image } from '../auto-image/auto-image' +import { presets } from './wallpaper.presets' +import { WallpaperProps } from './wallpaper.props' //const defaultImage = require("./bg.png") @@ -12,7 +12,7 @@ import { WallpaperProps } from "./wallpaper.props" */ export function Wallpaper(props: WallpaperProps) { // grab the props - const { preset = "stretch", style: styleOverride, backgroundImage } = props + const { preset = 'stretch', style: styleOverride, backgroundImage } = props // assemble the style const presetToUse = presets[preset] || presets.stretch @@ -21,5 +21,5 @@ export function Wallpaper(props: WallpaperProps) { // figure out which image to use //const source = backgroundImage || defaultImage - return null//<Image source={source} style={styles} /> + return null //<Image source={source} style={styles} /> } |