Accordion throws errors.
See original GitHub issueimport React, { Component } from "react";
import { Container, Header, Content, Accordion } from "native-base";
const dataArray = [
{ title: "First Element", content: "Lorem ipsum dolor sit amet" },
{ title: "Second Element", content: "Lorem ipsum dolor sit amet" },
{ title: "Third Element", content: "Lorem ipsum dolor sit amet" }
];
export default class AccordionExample extends Component {
render() {
return (
<Container>
<Header />
<Content padder>
<Accordion dataArray={dataArray} expanded={0}/>
</Content>
</Container>
);
}
}
this is the code that i m running…i have copied this code from https://docs.nativebase.io/Components.html#accordion-def-headref… when i ran this code it throws following error.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:14 (7 by maintainers)
Top Results From Across the Web
[Accordion] Accordion throws JavaScript error on opening
Description: I'm using the minified version of Foundation 6.0.5. When I click an Accordion panel it opens but the following error is thrown...
Read more >React Bootstrap Accordion Error: Element type is invalid
React Bootstrap Accordion Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components).
Read more >Accordion issues with v18.3.0.50 | Blazor Forums - Syncfusion
Forum Thread - Accordion issues with v18.3.0.50 - Blazor. ... The Accordion control throws errors when expanding an item. Regards,.
Read more >The React demo for Accordion throws the "W1019" error and ...
The Accordion items cannot be expanded and the W1019 error will occur on any attempt to expand an item. Expected results. The demo...
Read more >Accordion with single item throws JS error in ... - Sencha
No information is available for this page.
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
@nainishmodi
Sample code