Skip to content

Commit 9c729d4

Browse files
authored
Leave validation of text-decoration-line to react-native
1 parent 0559ff2 commit 9c729d4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/transforms/textDecoration.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ module.exports = tokenStream => {
2828
tokenStream.matches(LINE)
2929
) {
3030
lines.push(tokenStream.lastValue)
31-
if (lines[0] === lines[1]) {
32-
throw new Error('Expected two different text decoration line styles')
33-
}
3431
// Underline comes before line-through
3532
lines.sort().reverse()
3633
} else {

0 commit comments

Comments
 (0)