1.1.2 • Published 1 year ago

@quillsql/components v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Quill Components

Quill React Component Library

Install

npm i @quillsql/components

Basic usage

import React, { useState } from 'react'
import { QuillProvider, Dashboard } from '@quillsql/components'

function App() {
  const [user] = useState(null)
  return (
    <QuillProvider
      publicKey={API_KEY}
      theme={THEME}
      authToken={user.jwt}
      userId={user.id}
    >
      <Dashboard
        name='spend_insights'
        containerStyle={{
          height: '100vh',
          width: '100vw',
          background: 'white'
        }}
      />
    </QuillProvider>
  )
}