@fluree/admin-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.31 • Public • Published

@fluree/admin-react

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save @fluree/admin-react

Components

FlureeQL

Example

FlureeQL page shot

import { FlureeQL } from 'fluree-admin-components'

const App = () => {
  return (
    <FlureeQL
      allowTransact
      _db={{
        db: 'example/mdm',
        ip: 'http://localhost:8090',
        dbs: ['example/mdm']
      }}
    />
  )
}

Contains everything you need to get started querying and transacting against your Fluree ledger using the FlureeQL query language. Currently supports unsigned queries (including block, history, and multi-query) and transactions.

Props

Prop Required ? Type Default Description
_db object Object containing Fluree ledger data (detailed below)
allowTransact boolean false If set to true, user can make transactions to ledger
withHistory boolean false If set to true, History component is available
jsonMode 'json', 'json5' 'json' Determines Editor syntax features (linting / beautification)
token string (JWT) undefined A JWT token to pass into HTTP requests
allowKeyGen boolean false Allow access to Public/Private Key Generation functionality
allowSign boolean false Allow for signing queries with private key
_db Object
key value type
db ledger name string
ip base url for Fluree instance string

License

© Fluree, PBC

/@fluree/admin-react/

    Package Sidebar

    Install

    npm i @fluree/admin-react

    Weekly Downloads

    15

    Version

    1.0.31

    License

    MIT

    Unpacked Size

    350 kB

    Total Files

    35

    Last publish

    Collaborators

    • jackamus29
    • dpetran
    • bplatz2
    • bplatz
    • aaj3f
    • wesmorgan
    • jdorety
    • zonotope
    • jakep36
    • fdmmarshall91