Skip to content

Commit

Permalink
Make more properties valid
Browse files Browse the repository at this point in the history
  • Loading branch information
dddlr committed Nov 28, 2024
1 parent 7541d00 commit 23d35b5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const CSS_PROPERTIES: string[] = [
.flat()
.filter((value): value is string => typeof value === 'string'),
'color',
'display',
'text-transform',
'align-items',
'content',
];

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

0 comments on commit 23d35b5

Please sign in to comment.