score:1

Accepted answer

the popup has a props called open that takes the boolean. this will help you,

<popup
  content="hello"
  open={true}
  trigger={<button content="a trigger" />}
/>

you can pass the value to it by managing via state. here is the working example: sandbox


Related Query

More Query from same tag