Accordion Component

by Pritesh Patel

HTML

<!--
  Mock up:
  https://reactjsexample.com/content/images/2018/04/React-Accordion.gif
  
  Requirement:
  1. Build an Accordion React component
  2. The functionaliy should be similar as the the mock up.
  3. Data will be dynamic
  4. Implement the CSS similar to mockup
  5. should have feature like expand all and collapse all
-->
<div id="app"></div>

React

class Accordion extends React.Component {
	render() {
  	return (
    	<div>Hello Accordion</div>
    )
  }
}

ReactDOM.render(<Accordion />, document.querySelector("#app"));