I have a custom component that takes in a property icon and sets the button\'s inner image to the corresponding icon as follows: