Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Commit 5aceafc

Browse files
committed
docs: improve system doc
1 parent 32fce3e commit 5aceafc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

β€Ždocs/system/GettingStarted.mdxβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import { Box, system, styled } from '@smooth-ui/core-sc'
1111

1212
Smooth UI has a powerful style system that gives you a real styling power, it ensure a consistency in your design and reduce the amount of code to produce things.
1313

14+
The system is compatible with [styled-components](https://www.styled-components.com/) and [emotion](https://emotion.sh/docs/introduction).
15+
1416
## System Props
1517

1618
All Smooth UI components support system props, styling a component can be done by setting props:

β€Ždocs/system/Styled.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import system from '@smooth-ui/system'
4949
const Box = styled.div(props =>
5050
system({
5151
backgroundColor: props.backgroundColor,
52-
}),
52+
})(props),
5353
)
5454
```
5555

0 commit comments

Comments
Β (0)