Consuming a Stencil Component in React App

The Stencil Component
In my first Stencil post, Introduction to Stencil, I showed a collapsible panel component snippet. In this post, I’ll use that component in a React app.
Adding The Component Code
I created the React app using create-react-app project template. If you want to generate it as well, use the following command line code: