Undefined StarIcon on AirbnbExample
See original GitHub issueBug report
I just tried copying the AirbnbExample from the Box documentation: https://chakra-ui.com/box and I got an error saying StarIcon is not defined.
Expected behavior
The example should be updated to use the <Icon> component, i.e.
<Icon
name="star"
key={i}
color={i < property.rating ? "teal.500" : "gray.300"}
/>
I would love to do a PR on the documentation repo but I did not find it, would anyone kindly point me out to the source code of the Box
documentation page?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Box - Chakra UI
Create responsive layouts with ease. Provide a shorthand way to pass styles via props ( bg instead of backgroundColor ). Compose new component...
Read more >Lesson 9 - React 2: More Hooks, Libraries, Styling, and Routing
In the example above, it is 0 because our counter starts from zero. ... function AirbnbExample() {. const property = { ... <StarIcon....
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
The entire
website
folder! It’s funneled through MDX, so/website/docs/
.i see, so it actually exists on v1. good stuff.
I’m curious to know where is the source code for the documentation tough? as in: if I find a “typo” or any mistake on the documentation, where would I find the source code on github to submit a PR ?