Crib or bassinet

If my baby is going to sleep in a crib in my room, right next to my bed, will that be okay? Or does she need to sleep in a bassinet