As you know, with styled-component you may extend an HTML tag and define an attribute immediately. That’s very useful when you need to use a component often.

// styled.ts
export const IconDisabled = styled(Icon).attrs({
  src: "/images/ssl/unsecure.png",
})``;