Baby clothes question

Katelyn
My grandma said babies aren't supposed to wear onsies until their umbilical cord falls off and to only dress the baby with a white undershirt and a sleeper, is that true?