add deprecation warnings for icon and iconSrc