Question · React Native course · Module 11: Device and sensors

Clipboard.setStringAsync

How do you copy text to the clipboard?

Answer options

  • Clipboard.copy(text)
  • Clipboard.setStringAsync(text)
  • Clipboard.set(text)
  • Clipboard.write(text)

You can check the correct answer by solving this task in the CodeWorlds game.