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, i'm a newbie on react native i'm trying to use readSignature using the example...
but when i finished to sign the screen reset
`import SignatureScreen from 'react-native-signature-canvas';
const Sign = ({text, onOK}) => { const ref = useRef();
const handleSignature = signature => { setFirma(signature); };
const handleEmpty = () => { console.log('Empty'); }
const handleClear = () => { console.log('clear success!'); }
const handleEnd = () => { ref.current.readSignature(); }
return ( ); }
export default Sign; ` setFirma is: const [firma,setFirma] = useState('');
The text was updated successfully, but these errors were encountered:
my goal is to save the signature without confirm it, thanks
Sorry, something went wrong.
return ( <SignatureScreen ref={ref} onEnd={handleEnd} onOK={handleSignature} onEmpty={handleEmpty} /> );
don't work
after i signed refresh and i loose the sign
https://github.com/YanYuanFE/react-native-signature-canvas/blob/master/example/expo-app/App.js, You can try this example, It's work fine.
No branches or pull requests
Hi,
i'm a newbie on react native
i'm trying to use readSignature using the example...
but when i finished to sign the screen reset
`import SignatureScreen from 'react-native-signature-canvas';
const Sign = ({text, onOK}) => {
const ref = useRef();
const handleSignature = signature => {
setFirma(signature);
};
const handleEmpty = () => {
console.log('Empty');
}
const handleClear = () => {
console.log('clear success!');
}
const handleEnd = () => {
ref.current.readSignature();
}
return (
);
}
export default Sign;
`
setFirma is: const [firma,setFirma] = useState('');
The text was updated successfully, but these errors were encountered: