Manually by creating parts. I don’t know of any automated way of doing this. These two tutorials on parts making apply to current versions of Fritzing:
I lately learned there aren’t links to the videos in Old_Grey’s tutorial so you need to do a google search for the title and then they come up on YouTube.