Skip to content

Commit 23d35b5

Browse files
committed
Make more properties valid
1 parent 7541d00 commit 23d35b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/babel-plugin/src/utils/error-if-invalid-properties.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const CSS_PROPERTIES: string[] = [
77
.flat()
88
.filter((value): value is string => typeof value === 'string'),
99
'color',
10+
'display',
11+
'text-transform',
12+
'align-items',
13+
'content',
1014
];
1115

1216
export const errorIfInvalidProperties = (properties: string[]): void => {

0 commit comments

Comments
 (0)