diff options
author | Kirill Rogovoy <[email protected]> | 2021-07-19 20:06:08 +0300 |
---|---|---|
committer | Kirill Rogovoy <[email protected]> | 2021-07-19 20:06:08 +0300 |
commit | f0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 (patch) | |
tree | 575c0ff2cbb846252bd2e494c81c396846aab2f6 /app/components/wallpaper/wallpaper.tsx | |
parent | 67ad38d0a7cd319623e9f41c0c381ed5c5f6f973 (diff) |
Apply Prettier
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} /> } |