Dynamic animated container size react native
We have a searchEvent object that expands when clicked, revealing the event description. I would like the expansion to be animated and for the final size of the animated box to depend on the length of its content (the event description).