Registry / devops / react-quill-sql

react-quill-sql

JSON →
library1.5.0jsnpmunverified

React component providing a customizable SQL editor built on Quill. Version 1.5.0, released under MIT license with no active release cadence. Requires React 17+. Differentiates from code editors by offering a structured query builder UI with themes and styling, not a plain text editor. ESM-only, no TypeScript types included.

npm install react-quill-sql
INSTALL
IMPORT
SIG · REACT-QUILL-SQL
R
react-quill-sql
devopsjavascriptv1.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

QuillSQL
import QuillSQL from 'react-quill-sql'
const { QuillSQL } = require('react-quill-sql')
Default export, not named export.
QuillSQL
const QuillSQL = require('react-quill-sql').default
const QuillSQL = require('react-quill-sql')
CJS requires .default access.
React
import React from 'react'
none
Required for JSX in usage example.

Minimal setup showing QuillSQL component with required customerId, publicKey, and theme/container styling.

import React, { Component } from 'react'; import QuillSQL from 'react-quill-sql'; class Example extends Component { render() { return ( <QuillSQL customerId='3' publicKey='YOUR_PUBLIC_KEY' theme={{ fontFamily: 'BlinkMacSystemFont', fontSize: 14, headerFontSize: 16, primaryColor: '#E26A3C', secondaryColor: 'white', selectUnderlayColor: '#F9F9F9', backgroundColor: 'white', fontColor: '#212121', secondaryFontColor: '#636565', selectedFontColor: '#212121', borderColor: '#F0F0F0', labelFontWeight: '500', headerFontWeight: '600', selectedFontWeight: '700', padding: 20, borderRadius: '8px', shadowColor: 'rgba(76, 83, 146, 0.09)', shadowRadius: '8px' }} containerStyle={{ display: 'flex', flexDirection: 'row', height: 600, width: 1200, boxShadow: '0px 1px 24px 0px rgba(76, 83, 146, 0.09)', borderRadius: 12, overflow: 'hidden' }} /> ); } }
Debug
Known issues
gotchaPackage requires a publicKey from Quill service; no key leads to blank editor.
fix
Obtain a public key from quill.co and pass it as publicKey prop.
affects: all
gotchaTheme object requires all properties; missing any may cause runtime errors.
fix
Provide complete theme object with exactly the properties listed in docs.
affects: all
gotchaNo TypeScript definitions available; use in TS projects requires custom type declarations.
fix
Create a .d.ts file: declare module 'react-quill-sql';
affects: all
Errors
Common errors & fixes
Module not found: Can't resolve 'react-quill-sql'
Package not installed.
fix
Run npm install react-quill-sql
TypeError: QuillSQL is not a constructor
CJS require without .default.
fix
Use const QuillSQL = require('react-quill-sql').default
Error: publicKey is required
Missing publicKey prop.
fix
Add publicKey='YOUR_PUBLIC_KEY' to <QuillSQL>
Upgrade
Version history
1.5.0latest on npm
Audit
Dependencies
reactrequiredpeer dependency; component requires React >=17
react-domoptionalpeer dependency; required for rendering
Agent activity
2 hits · last 30 days
node
2
Resources
react-quill-sql — npm install react-quill-sql · libregistry