showWidgetModal Method
This method is used to open the Okto modal.
Parameters
None
Example
import { useOkto, type OktoContextType} from 'okto-sdk-react';
const { showWidgetModal, closeModal } = useOkto() as OktoContextType;
showWidgetModal();