Skip to content

Commit a7d825e

Browse files
docs: import box from styled components (#96)
1 parent 2078165 commit a7d825e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/pages/docs/responsive.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Handling responsive is very easy with `@xstyled/system` either using props or ut
1313
Using [style props](/docs/style-props/), you can tweak a component right from props. Each one of them accepts an object to define responsive values for each prop.
1414

1515
```js
16-
import { Box } from '@xstyled/system'
16+
import { Box } from '@xstyled/styled-components'
1717

1818
/* The box will be displayed only in mobile! */
1919
const OnlyMobileBox = () => <Box display={{ sm: 'block', md: 'none' }} />

0 commit comments

Comments
 (0)