In my experience of the kids around me it's more common at 3 than 2. My DD refused to have a sleep just after her 3rd bday but it'd been coming for a few months.

I'd persist for a while to get her to at least have a rest in her room, it might just be a phase and she might go back to having a sleep.