Skip to content

Commit

Permalink
fix: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Jul 7, 2019
1 parent e8d9c3a commit 7e1b8d3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 23 deletions.
4 changes: 0 additions & 4 deletions packages/styled-components/src/Box.js

This file was deleted.

16 changes: 0 additions & 16 deletions packages/styled-components/src/Box.test.js

This file was deleted.

3 changes: 1 addition & 2 deletions packages/styled-components/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ export {

export { css } from './css'
export { createGlobalStyle } from './createGlobalStyle'
export { Box } from './Box'
export { styled as default } from './styled'
export { Box, styled as default } from './styled'
2 changes: 1 addition & 1 deletion packages/styled-components/src/styled.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const createBoxComponent = component => ({ as, ...props }) => {
return <Component {...omittedProps} />
}

const Box = styled(createBoxComponent('div'))(createBox)
export const Box = styled(createBoxComponent('div'))(createBox)

styled.box = styled(Box)

Expand Down

0 comments on commit 7e1b8d3

Please sign in to comment.