Skip to content

Commit

Permalink
docs: add styled rules description supplement (#405)
Browse files Browse the repository at this point in the history
* docs: fix missing xstyled

* docs: add styled rules description supplement
  • Loading branch information
GyeongtaeGim authored Jul 24, 2023
1 parent a79cdeb commit 7949a75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ import styled from '@xstyled/...'

const Box = styled.div({
margin: 2, // '2px' (not transformed by xstyled)
marginTop: '2', // '8px' (transformed by styled)
marginTop: '2', // '8px' (transformed by xstyled to your defined theme spacing scale)
})
```

Expand Down

0 comments on commit 7949a75

Please sign in to comment.