This website requires JavaScript.
Explore
Help
Sign In
archive
/
rsnext
Watch
1
Star
0
Fork
You've already forked rsnext
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
6d8b2cd350
rsnext
/
examples
/
with-portals
/
pages
/
index.js
6 lines
95 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Refactor with-modal example (#9097) ## Changelog - Use functional components instead of class components - Use default exports like in all other examples - Rename `Portal` component to `ClientOnlyPortal`.
2019-10-18 07:50:10 +02:00
import
Modal
from
'../components/Modal'
Add with Portals example (#3372)
2017-12-02 18:02:22 +01:00
Removed redundant code from the with-portals example (#13059)
2020-05-18 20:17:02 +02:00
export
default
function
Home
(
)
{
return
<
Modal
/
>
}
Reference in a new issue
Copy permalink