UNPKG

@nexusui/components

Version:

These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.

2 lines (1 loc) 206 B
import{jsx as e,Fragment as n}from"react/jsx-runtime";const o=o=>{const{loading:r,loadingMode:t="spinner",skeleton:i,children:l}=o;return e(n,{children:r&&"skeleton"===t?i:l})};export{o as LoadingManager};