OpusCapita / react-crudeditor

OpusCapita React CRUD Editor

Home Page:https://opuscapita.github.io/react-crudeditor/branches/master/?currentComponentName=ContractEditor&maxContainerWidth=100%25&showSidebar=false

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move default spinner, notifications and confirm dialog into a separate package

amourzenkov-sc opened this issue · comments

Package name: uiGlobalComponents. Exports:

  1. Object uiSpinner with two methods: show, hide. Each method accepts no arguments and increments/decrements the Component's internal state. The Component is created dynamically, not beforehand.
  2. Object uiMessageNotification with four methods: error, success, warning, info. Each method accepts the only named argument ({ message }). A timeout is hardcoded.
  3. Function uiModelDialog with the following arguments: ({ title, message, buttons: [{ label, onClick }, ...] }).