include lock&unlock method to props

This commit is contained in:
SrGooglo 2023-06-26 18:22:36 +00:00
parent 1a3c3674a1
commit 590445af9e

View File

@ -180,6 +180,8 @@ export class Drawer extends React.Component {
}
const componentProps = {
...this.options.componentProps,
lock: this.lock,
unlock: this.unlock,
events: this.events,
close: this.close,
handleDone: this.handleDone,