Teapot and Water pitcher

Can I use a glass tea pot, if the lid and handles are plastic.
Has only been used for tea.
Also - water pitcher with a plastic lid? Again, only used for water.
Both have been washed over the year in the dishwasher with dishes, pots, etc

No problem