Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to V4 of styled-components #401

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

rebase syntax

  • Loading branch information
Ross Moody
Ross Moody committed Mar 14, 2019
commit 46d1d8cff7b52c351d32c465812bc2abc74b9f12
@@ -4,7 +4,7 @@ interface StyleProps {
floating?: boolean
}

export const StyledSelect = styled<StyleProps, 'select'>('select')`
export const StyledSelect = styled.select<StyleProps>`
width: 100%;
background: #fff;
height: 34px;
@@ -34,6 +34,6 @@ export const StyledContent = styled.div`
}
`

export const StyledCenter = styled<{}, 'div'>('div')`
export const StyledCenter = styled.div`
text-align: center;
` as any
`
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.