Fix prettier

This commit is contained in:
Brandon Millman
2019-09-12 13:40:03 -07:00
parent 803505cacc
commit 7fe4a03683

View File

@@ -37,7 +37,7 @@ export function stylesForMedia<T extends string | number>(
choice: OptionallyScreenSpecific<T>,
): InterpolationValue {
if (typeof choice === 'object') {
return`
return `
${cssPropertyName}: ${choice.default};
${choice.lg && media.large`${cssPropertyName}: ${choice.lg}`}
${choice.md && media.medium`${cssPropertyName}: ${choice.md}`}