Remove public annotation from React snippet.