Skip to content

A library of custom React components and utilities used across React projects by LRE Water.

Notifications You must be signed in to change notification settings

lrewater/lre-react

Repository files navigation

lre-react

NPM JavaScript Style Guide

Overview

lre-react is a library of reusable components tailored specifically to LRE Water use cases. The components are meant for use with React and are an extension of the Material UI framework. This library has grown out of the LRE Starter kKt and is meant to compliment the Starter Kit as well as any other React project.

Roadmap

  • Filters
    • Date
    • Multi-select
    • Single-select
    • Search multi-select
    • Switch
    • TextField
    • TextArea
    • Filter Bar
  • Tables
    • ListTable
    • DataTable
  • Graphs
    • Line Graph
  • Authentication and Authorization
  • Reports and Views
    • Reports Home
    • View Management
  • Data Management
    • Editable Grid
    • Draggable Grid
    • View List Item
    • Edit List Item
    • Add List Item
    • Delete List Item
  • Hooks
    • useTable
    • useGraph
    • useFetchData
    • useFilterAssoc
    • useFormSubmitStatus
    • useVisibility
  • Util

Install

npm install --save @lrewater/lre-react

Usage

import React, { useState } from "react";

import { TextField } from "@lrewater/lre-react";

const Example = props => {
  const [value, setValue] = useState("Example Value");

  const handleChange = event => {
    setValue(event.target.value);
  };
  return (
    <form>
      <TextField
        name="example"
        label="Example"
        value={value}
        onChange={handleChange}
      />
    </form>
  );
};

License

MIT © lrewater

About

A library of custom React components and utilities used across React projects by LRE Water.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •