@rtw_np/mui-theme-config
v2.6.1
Published
This package provides a shareable MUI theme configuration that can be used across multiple projects.
Readme
MUI Config
This package provides a shareable MUI theme configuration that can be used across multiple projects.
Installation
npm install @rtw_np/mui-theme-config
yarn add @rtw_np/mui-theme-configComponents
This package includes the following components:
AppPagination:
A comprehensive pagination component built on top of MUI's Pagination. It offers standard page navigation, an item range display (e.g., "Showing 1-10 of 50"), an optional
pageSizeselector, and responsive design.
FilterForm:
A flexible form component integrated with Formik, designed for creating filter interfaces. It supports submission ( search) and reset functionalities, along with customizable layouts and actions.
FormInput:
A layout component for structuring form inputs. It handles the display of labels, input fields, and error messages, with options for vertical or horizontal label alignment.
MobileBreakpointProvider:
A provider component that detects and supplies information about the current screen size (mobile or tablet) to its children, utilizing MUI's breakpoint system. This allows for responsive rendering of child components.
