How can I specify a type in TypeScript for React Native's onLayout event?
const handleOnLayout = (e: SomeTypeHere) => { // stuff };<View onLayout={handleOnLayout}><Text>Hi</Text></View>
How can I specify a type in TypeScript for React Native's onLayout event?
const handleOnLayout = (e: SomeTypeHere) => { // stuff };<View onLayout={handleOnLayout}><Text>Hi</Text></View>