Skip to content

Commit 8eb22a5

Browse files
authored
Merge pull request #51 from styled-components/revert-null-undefined-values
Revert "Handle null and undefined values"
2 parents fea61db + 82a5b32 commit 8eb22a5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ const boolRe = /^true|false$/i;
1212
export const transformRawValue = (input) => {
1313
const value = input.trim();
1414

15-
if (value === 'null') return null
16-
if (value === 'undefined') return undefined
17-
1815
const numberMatch = value.match(numberOrLengthRe);
1916
if (numberMatch !== null) return Number(numberMatch[1]);
2017

0 commit comments

Comments
 (0)