RNTester: Migrate TransformExample to hooks (#27181)
RNTester: Migrate TransformExample to hooks (#27181)

Summary:
This pull request migrates the animated flip example in `TransformExample` to using React Hooks.

## Changelog

[General] [Changed] - RNTester: Migrate TransformExample to hooks
Pull Request resolved: https://github.com/facebook/react-native/pull/27181

Test Plan: The animation works exactly as it did as when it was a class component

Differential Revision: D18418200

Pulled By: mdvacca

fbshipit-source-id: 129298319dbf1774d06fe5c6e5ab60cd028449bb

myntra/react-native,javache/react-native,hoangpham95/react-native,facebook/react-native,facebook/react-native,facebook/react-native,javache/react-native,myntra/react-native,hoangpham95/react-native,exponentjs/react-native,exponent/react-native,hoangpham95/react-native,janicduplessis/react-native,exponent/react-native,exponentjs/react-native,hoangpham95/react-native,pandiaraj44/react-native,javache/react-native,javache/react-native,exponent/react-native,pandiaraj44/react-native,exponentjs/react-native,pandiaraj44/react-native,janicduplessis/react-native,arthuralee/react-native,javache/react-native,hammerandchisel/react-native,exponent/react-native,exponent/react-native,myntra/react-native,hoangpham95/react-native,janicduplessis/react-native,javache/react-native,exponentjs/react-native,exponentjs/react-native,hammerandchisel/react-native,janicduplessis/react-native,facebook/react-native,myntra/react-native,hammerandchisel/react-native,exponent/react-native,pandiaraj44/react-native,arthuralee/react-native,facebook/react-native,hammerandchisel/react-native,pandiaraj44/react-native,pandiaraj44/react-native,janicduplessis/react-native,myntra/react-native,exponentjs/react-native,janicduplessis/react-native,hoangpham95/react-native,myntra/react-native,pandiaraj44/react-native,hoangpham95/react-native,exponent/react-native,janicduplessis/react-native,hoangpham95/react-native,myntra/react-native,exponent/react-native,exponentjs/react-native,hammerandchisel/react-native,myntra/react-native,hammerandchisel/react-native,exponentjs/react-native,facebook/react-native,javache/react-native,facebook/react-native,javache/react-native,facebook/react-native,javache/react-native,hammerandchisel/react-native,janicduplessis/react-native,hammerandchisel/react-native,arthuralee/react-native,arthuralee/react-native,pandiaraj44/react-native,myntra/react-native,arthuralee/react-native,facebook/react-native