Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@croz/nrich-registry-mui

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@croz/nrich-registry-mui

Contains the UI implementation of registry for the MUI component library

  • 0.0.2-RC
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@croz/nrich-registry-mui

Overview

@croz/nrich-registry-mui is a MUI wrapper for the @croz/nrich-registry-core module. Module uses generic MUI components to provide basic functionality for registry administration.

Setup

To use this module in your project run npm install @croz/nrich-registry-mui or yarn add @croz/nrich-registry-mui

Usage

In your app, inside your registry administration, use RegistryProvider which loads configurations. Be vary that you also need FormConfigurationProvider somewhere in the tree so that form validations are loaded. Inside the RegistryProvider you can use RegistryEntity component which encapsulates display with filtering, actions for adding, editing and removing entities.

<FormConfigurationProvider>
  <RegistryProvider>
    <RegistryEntity entityName="Address"/>
  </RegistryProvider>
</FormConfigurationProvider>

If you want to customize the display, or use some part from the RegistryEntity component, you can also use RegistryTable, RegistryFilter and RegistryForm components together with useRegistryEntityAdministration hook.

There is also a RegistryEntityPicker component which can be used to pick an entity from a list of available entities.

List of component and which hooks they use internally:

Component nameDescriptionUsed hook
RegistryEntityMain component which encapsulates whole entity administrationuseRegistryEntityAdministration
RegistryTableTable with data, with filtering and sortinguseRegistryEntityContext, useRegistrySort
RegistryFilterSearch input and filter propertiesuseRegistryFilter
RegistryFormForm for adding and updating entitiesuseRegistryEntity, useRegistryForm
RegistryEntityPickerComponent for picking an entity from a list of available entitiesuseRegistryConfigurationStore

Keywords

FAQs

Package last updated on 04 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc