GeekyAnts / GeekyAnts/react-native-easy-grid
Can't wrap Col/Row ?
Open
- Dominant language
- JavaScript
- Stars
- 2.2k
- Forks
- 165
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to wrap Col and Row in another component, so I can customize it with some defaults (for example, have all rows have a padding).
However, something as simple as this:
```
export class Row extends React.Component{
render(){
return <_Row {...this.props}>{this.props.children}
}
}
```
Renders the component totally useless (it gets rendered completely wrong). Is there any implementation detail preventing this?
How would I add some default styles to my Row/Cols?
Thanks.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.