1.0.5 • Published 4 years ago

broker-grid v1.0.5

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

Broker Grid

Check out broker - your Real-time Zero-Code API Server - https://crates.io/crates/broker

Broker Grid uses Material Table for React and is a real-time insert-only data-grid for Broker & React.

API

Options

NameTypeRequiredDefaultDescription
insertEndpointstringtrue-
sseEndpointstringtrue-The endpoint on the server.
eventstringtrue-The event to listen for from the SSE.
tokenstringtrue-The JWT token.
titlestringtrue-The title for the data grid to display.

Usage

import React from 'react';
import Grid from 'broker-grid';

const App = () => (
  <Grid sseEndpoint={'http://localhost:8080/events/112718d1-a0be-4468-b902-0749c3d964ae'} insertEndpoint={'http://localhost:3000/insert'} eventListen={'user'} token={'123'} title={'Broker Demo'} />
);
1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.5

4 years ago

0.0.1

4 years ago