import { createGlobalStyle } from "styled-components"; export const ChangeBackground = createGlobalStyle<{ url?: string }>` body:before { ${({ url }) => url ? `background: url(${url});` : ''} } `