(style: Record<string, string>)
| 1178 | } |
| 1179 | |
| 1180 | export function cssToClassNames(style: Record<string, string>): string[] { |
| 1181 | const cls = cssToTailwind(style) |
| 1182 | return cls ? cls.split(WHITESPACE_RE).filter(Boolean) : [] |
| 1183 | } |
| 1184 | |
| 1185 | function cssToClassNamesWithArbitraryProperties(style: Record<string, string>): string[] { |
| 1186 | const known = cssToClassNames(style) |
no test coverage detected