文件名称:react-overlay-trigger::information:自动重新放置叠加组件以做出React
文件大小:41KB
文件格式:ZIP
更新时间:2024-05-19 05:35:26
react-component overlay position tooltip auto-reposition
React叠加触发 零依赖性覆盖定位组件进行React。 用法 npm i -S react-overlay-trigger import React from 'react' import OverlayTrigger from 'react-overlay-trigger' const Overlay = ( { style , ... rest } ) => < span> { children } < / span > const overlay = < Overlay> yep < / Overlay > const Button = React . forwardRef ( ( props , ref ) => < div xss=removed> ) const Demo = ( ) => ( <
【文件预览】:
react-overlay-trigger-master
----.gitattributes(16B)
----rollup.config.js(697B)
----yarn.lock(79KB)
----src()
--------OverlayTrigger.jsx(3KB)
--------utils.js(2KB)
--------DomObserver.js(1KB)
--------index.js(41B)
--------Overlay.jsx(2KB)
----.babelrc(173B)
----type.d.ts(495B)
----README.md(2KB)
----docs()
--------index.html(3KB)
--------yarn.lock(6KB)
--------app.jsx(4KB)
--------package.json(293B)
----.gitignore(44B)
----package.json(1KB)