We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi please find my below code
import React, { Component } from 'react'; import ProcessImage from 'react-imgpro'; import { IMG_APP_LOGO } from '../images';
class CamFilter extends React.Component { state = { src: '', err: null }
render() { return ( <ProcessImage image={IMG_APP_LOGO} resize={{ width: 500, height: 500 }} colors={{ mix: { color: 'mistyrose', amount: 20 } }} processedImage={(src, err) => this.setState({ src, err})} /> ) }
}
export default CamFilter;
i am getting following error invariant violation: view config getter callback for component 'img' must be a function
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi please find my below code
import React, { Component } from 'react';
import ProcessImage from 'react-imgpro';
import { IMG_APP_LOGO } from '../images';
class CamFilter extends React.Component {
state = {
src: '',
err: null
}
}
export default CamFilter;
i am getting following error
invariant violation: view config getter callback for component 'img' must be a function
The text was updated successfully, but these errors were encountered: