Added propTypes to react components