Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image did not showning #20

Open
atul2427 opened this issue Dec 30, 2019 · 0 comments
Open

image did not showning #20

atul2427 opened this issue Dec 30, 2019 · 0 comments

Comments

@atul2427
Copy link

import React, { Component } from 'react';
import { ImageColorPicker } from 'react-native-image-color-picker';
import { View } from 'react-native';

export default class App extends Component {

pickerCallback = message => {
if (message && message.nativeEvent && message.nativeEvent.data) {
console.log(message.nativeEvent.data); // response from ImageColorPicker
}
};

render() {
return (
<View style = {{height:'40%' , width = '40%'}}>
<ImageColorPicker style = {{height :40 , width : 50}}
imageUrl="https://dummyimage.com/100x100?ts=Math.random()"
pickerCallback={this.pickerCallback}
/>

);
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant