-
Notifications
You must be signed in to change notification settings - Fork 393
Open
Description
Hello.
I was diving into the code and noticed that pxToTailwind
doesn't seem to ever return null but it is documented as possibly returning it.
When round is true, it will find the nearest key in the map and return its value (which is always a string it seems).
When round is false, it will return a string with the exact pixels specified.
If this is corrected, a good number of truthy checks in other conversion functions could likely be removed.
): string | null => { |
Metadata
Metadata
Assignees
Labels
No labels