Skip to content

Commit 6f72990

Browse files
committed
docs: fix comparison
1 parent 304e17e commit 6f72990

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/docs/docs/guides/dynamic-props.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ const Box = styled.View<{ $size?: 'small' | 'large' }>`
143143

144144
| Feature | kstyled | styled-components | emotion |
145145
|---------|---------|-------------------|---------|
146-
| `${16}px` | ✅ Yes | ❌ No | ❌ No |
146+
| `${16}px` | ✅ Yes | ✅ Yes | ✅ Yes |
147147
| `${'16px'}` | ✅ Yes | ❌ No | ❌ No |
148-
| `${16}` | ✅ Yes | ✅ Yes | ✅ Yes |
148+
| `${16}` | ✅ Yes | ❌ No | ❌ No |
149149

150150
**Why this matters:**
151151

packages/docs/docs/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Static styles are extracted at compile time, while dynamic prop-based styles rem
4949
| Runtime overhead | Zero | High | Medium-High |
5050
| Build-time CSS validation ||| ⚠️ (with plugin) |
5151
| StyleSheet.create ||||
52-
| Flexible unit syntax | `${16}px`, `${'16px'}`, `${16}` | `${16}` only | `${16}` only |
52+
| Flexible unit syntax | `${16}px`, `${'16px'}`, `${16}` | `${16}` only | `${16}px` only |
5353
| API familiarity | styled-components || Similar |
5454

5555
## Next steps

0 commit comments

Comments
 (0)