-
I was trying to write some type definition for the [styled-components](https://github.com/styled-components/styled-components) project, but it looks like there is no way to specify a generic when usin…
-
## Version
__Styled Components__: 2.1.1
__React__: 16.0.0
## Steps to reproduce
```javascript
const DataDefinitionListItem = ({ label, value }) => (
{value.toString…
-
Is there a way to use this with Styled Component's withComponent method?
I've tried various takes but consistently get type mis-match errors.
```typescript
import styledComponents from 'styled-…
ghost updated
6 years ago
-
Sooo, the reason I've been kinda quiet for the past weeks in this repo (sorry, back now!) is because I've been working on a new way to style react apps with @geelen that solves all the issues with oth…
-
By reading:
> // import icons individually for better tree-shaking
I assume you care about tree-shaking. Based on that I'd like to report serious problems with this library's structure that preven…
-
## System:
- OS: macOS Sierra 10.12.6
- CPU: x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
- Free Memory: 510.73 MB
- Total Memory: 16.00 GB
- Shell: /bin/bash - 3.2.57
## Binaries:
- Nod…
-
I just want to make sure, but if we make a module that depends on styled-components.
Should it be a peerDependencies or a dependencies ?
peerDependencies should be used if the dependencies needs to…
kopax updated
6 years ago
-
## Environment
## System:
- OS: macOS High Sierra 10.13.3
- CPU: x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
- Free Memory: 84.10 MB
- Total Memory: 16.00 GB
- Shell: /bin/zsh - undefined
…
-
Currently we inject a placeholder class in development that looks something like this:
```css
.sc-a {}
```
It doesn't do much and in a full development injection it'll look like this:
```cs…
-
Why does the displayName of component includes the `blockName`/`filename` ?
This makes it impossible to test the components using enzyme, when I try to `.find("ComponentName")` it fails because th…