Cannot wrap `Line` with customized component
See original GitHub issueI was trying to wrap <Line />
with my customized component. Like
const CurveLine = (props) => {
// do some transform with props here
return (
<Line
....
/>
)
}
but the Line didn’t render in the chart. Is there some way to do it correctly ? : )
Issue Analytics
- State:
- Created 7 years ago
- Reactions:11
- Comments:26 (2 by maintainers)
Top Results From Across the Web
not able to wrap the components in reactnative - Stack Overflow
The problem is that after I select 3 items (three tags will be appearing) and go for the 4th one than the TextInput...
Read more >Terminal prompt not wrapping correctly - Unix Stack Exchange
So using the command env -i bash --norc fixes it. The $COLUMNS and $LINES match. Does that mean that there's something funny with...
Read more >Wrapping and breaking text - CSS: Cascading Style Sheets
This guide explains the various ways in which overflowing text can be managed in CSS.
Read more >Wrapping React Components Inside Custom Elements - Gil Fink
If we want to wrap this component inside a custom HTML element we need to take care of a few things: Pass the...
Read more >wrap, overflow - wrap - , and - word - break - LogRocket Blog
What is the difference between a soft wrap break and a force line break? ... Any text wrap that occurs at a soft...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this should be reopened as it still is an issue. The workaround from @cjies works but that’s certainly not how it should be. Wrapping components is a very standard thing to do in react. I believe that it should be fixed or at least it should be documented on how to do it in a proper way.
@xile611
This should be reopened since is breaking the base pattern to compose react applications @xile611