import React from 'react';
import Signature from '../../src/react-chayns-signature/component/Signature';

const SignatureExample = () => (
    <Signature
        onSubscribe={() =>
            chayns.dialog.toast({
                description: 'Unterschrieben',
                duration: 3000,
            })
        }
    />
);

export default SignatureExample;

import React from 'react';
import Signature from '../../src/react-chayns-signature/component/Signature';

const SignatureExample = () => (
    <Signature
        onSubscribe={() =>
            chayns.dialog.toast({
                description: 'Unterschrieben',
                duration: 3000,
            })
        }
        onEdit={(e) => console.log('edit', e)}
    />
);

export default SignatureExample;

Add onEdit to signature example
Add onEdit to signature example