react-native-interactions icon indicating copy to clipboard operation
react-native-interactions copied to clipboard

Not working with react-navigation

Open joncursi opened this issue 8 years ago • 1 comments

Does this library work with react-navigation? All of the screens that I wrap only contain the placeholder (the placeholder never goes away).

joncursi avatar Sep 23 '17 08:09 joncursi

Hi @joncursi

You can only use react native component in placeholder. This not working:

import { UIActivityIndicator } from 'react-native-indicators';
export default class componentName extends PureComponent {

    render() {
        return (
            <UIActivityIndicator color='#333' />
        );
    }
}

But this working:

export default class componentName extends PureComponent {

    render() {
        return (
            <View style={{
                flex: 1,
                alignItems: 'center',
                justifyContent: 'center'
            }}>
                <ActivityIndicator size="large" color='rgb(58,28,72)' />
            </View>
        );
    }
}

I hope help you.

mgolkardev avatar Sep 17 '18 09:09 mgolkardev