Code Monkey home page Code Monkey logo

react-jhipster-mui's Introduction

MUI logo MUI logo

Jhipster - React - Material UI

Greetings, Java Hipster!

This is forked JHipster React utilities library to switch UI library to Material UI (from Reactstrap)

NPM version Test & Build


IMPORTANT CHANGE

Pagination Component

Pagination component now using Materiai UI Pagination Component. It supported all props of it and I made some change of JhiPagination's props.

  • activePage is deleted, using page from mui component directly
  • onSelect: (page: number) => void; is deleted, using onChange: (event: React.ChangeEvent<unknown>, page: number) => void from mui component directly
  • maxButtons is deleted, mui component self manage how the page button show and it work like the previous reactstrap
export interface IJhiPaginationProps {
- activePage: number;
- onSelect: (page: number) => void;
- maxButtons: number;
  totalItems: number;
  itemsPerPage: number;
}

REMARK

Jhipster design some validation form helper using react-hook-form and react strap, but it's little bit conflict with Material UI form component mindset, so I suggest to use Material UI form component with react-hook-form direactly but not from this lib.


Full documentation and information about jhipster is available on website at http://www.jhipster.tech/

Please read our guidelines before submitting an issue. If your issue is a bug, please use the bug template pre populated here. For feature requests and queries you can use this template.

Development setup

You need NodeJS and NPM.

Fork the react-jhipster project

Go to the react-jhipster project and click on the "fork" button. You can then clone your own fork of the project, and start working on it.

Please read the Github forking documentation for more information

Build

Run npm install to install all dependencies.

Make some changes, run npm run test to run both eslint and karma tests.

Package the library with npm run build.

Set NPM to use the cloned project

In your cloned react-jhipster project, type npm link.

This will do a symbolic link from the global node_modules version to point to this folder.

For testing, you will want to integrate your version of react-jhipster into an application generated by JHipster.

Go to your application folder, run npm link react-jhipster so that the local version has a symbolic link to the development version of react-jhipster.

You should see your changes reflected in the application.

Another way is to run npm pack on react-jhipster and then do npm install path-to/react-jhipster/react-jhipster-0.15.0.tgz on the generated application. this is the most fool proof way to test if npm link doesn't work

react-jhipster-mui's People

Contributors

deepu105 avatar pascalgrimaud avatar mshima avatar clementdessoude avatar chrisdns avatar danielfran avatar ctamisier avatar jdubois avatar agaspardcilia avatar oerd avatar vishal423 avatar windkomo avatar qmonmert avatar sonialahi avatar sudharakap avatar ruddell avatar jackjun724 avatar pvliss avatar gzsombor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.