score:3

Accepted answer

ok, figured this one out. there are two ways to do it.

  1. access via name.

    type imagesourceproptype = react.componentprops<typeof image>['source'];
    
  2. access via import.

    import { imagesourceproptype } from 'react-native';
    

    (hat tip @kschaer)


Related Query

More Query from same tag