Releases: vormadal/react-mui
First working version
Supports Typescript
Includes a draft for following components:
Toaster - MUI toaster to show message with autohide
Loading - show spinner while data is fetched, intended to be used with the useData hook
Navigation - plug'n play component with MUI navbar with drawer or simple menu and other stuff
ProtectedRoute - show routes only when user is logged in
and the following hooks:
useData - use when making API request, which automatically gives you 'loading' and 'error' properties.
useRequest - use when making API submits, similar to useData except you don't have to specify the query right away
useToast - to access the different message types for the Toaster component
Typescript Support
Added Typescript support and documentation for Loading component.
Initial Release
Includes a draft for following components:
- Toaster - MUI toaster to show message with autohide
- Loading - show spinner while data is fetched, intended to be used with the useData hook
- Navigation - plug'n play component with MUI navbar with drawer or simple menu and other stuff
- ProtectedRoute - show routes only when user is logged in
and the following hooks:
- useData - use when making API request, which automatically gives you 'loading' and 'error' properties.
- useRequest - use when making API submits, similar to useData except you don't have to specify the query right away
- useToast - to access the different message types for the Toaster component