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 d25ee34
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ const CSS_PROPERTIES: string[] = [
.flat()
.filter((value): value is string => typeof value === 'string'),
'color',
'display',
'text-transform',
'align-items',
'content',
'height',
];

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

0 comments on commit d25ee34

Please sign in to comment.