You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/client/shared/components/Portal
moonrailgun 8f6adb13d4 refactor: 升级依赖: react18与react-router v6 以及其他 2 years ago
..
Consumer.tsx refactor: move all files into client 3 years ago
Manager.tsx refactor: move all files into client 3 years ago
README.md refactor: move all files into client 3 years ago
buildPortal.tsx refactor: 升级依赖: react18与react-router v6 以及其他 2 years ago
context.ts refactor: move all files into client 3 years ago
defaultEventEmitter.tsx refactor: move all files into client 3 years ago
index.ts refactor: move all files into client 3 years ago

README.md

Portal

暂时没有使用

这是一组用于使用命令式方法将一个React DOM映射到相关的位置的方法 可以指定不同的portal位置

用于处理对于每个节点都需要创建一个相关的Modal的情况

参考 https://github.com/ant-design/ant-design-mobile-rn/blob/master/components/portal/ 的实现