Add typecast to icon example