1. Install dependencies
Install@quillsql/admin
using your favorite package manager:
2. Add AdminProvider
You connect Quill to React with theAdminProvider
component. Similar to React’s Context.Provider
, AdminProvider
wraps your React app and places Quill on the context, enabling you to access it from anywhere in your component tree.
In App.js, let’s wrap our React app with an AdminProvider
. We suggest putting the AdminProvider
somewhere high in your app, above any component that might use to access BI Platform components. If you’re using QuillProvider
in the same react app, make sure it is a child of AdminProvider
.
App.js
App.js