Tylenol question

I know Tylenol is okay during pregnancy, but does it have to be exactly Tylenol or is the generic okay?