Изучаю React HOC
взял пример отсюда - https://www.codingame.com/playgrounds/8595/reactjs-higher-order-components-tutorial#:~:text=A%20higher%2Dorder%20component%20(HOC,the%20advanced%20technique%20in%20React.&text=They%20are%20the%20pattern%20that,a%20component%20into%20another%20component. только переделал на react-native изи