// Component.js
render () { const isEventAccessible = checkAccess(area); if(isEventAccessible ){ return(No accessAce