With May's exit, what happens to Brexit?

Theresa May earlier this week announces her resignation from her post. The resignation is an outcome over the continues failures of The Brexit deal. But if she is resigning what will happen to Brexit then? Will the deal collapse and its an end to the chapter?