Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeDevice committed Jun 18, 2020
1 parent 3d8bde9 commit 6f9cd12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ Inspired by [Bootstrap](https://getbootstrap.com/) `media-breakpoint-...` mixins
## Usage

```js
const styled = require('styled-components').default;
const mediaHelper = require('styled-media-helper');
import styled from 'styled-components';
import mediaHelper from 'styled-media-helper';

const media = mediaHelper({
sm: 320,
md: 768,
lg: 1240
});

module.exports = styled.div`
export default styled.div`
width: 100px;
height: 100px;
background-color: blue;
Expand Down

0 comments on commit 6f9cd12

Please sign in to comment.