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) 277 B
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.default=()=>{const[t,r]=e.useState(null);return{anchorEl:t,open:Boolean(t),handleOpen:e=>{r(e.currentTarget),e.stopPropagation()},handleClose:e=>{r(null),e.stopPropagation()}}};