Last active
October 13, 2020 17:29
-
-
Save codeBelt/3a534429b04100107217a632384ecfea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const PortalOut = (props) => { | |
const { portalMap } = useContext(PortalContext); | |
return portalMap.get(props.portalType) || null; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment