Closed campbellbartlett closed 4 years ago
a solution for this issue: https://github.com/vaadin/vaadin-button-flow/issues/110
Hi Dennis,
Do you suggest adding a new interface to vaadin-button-flow (or somewhere else, I'm not sure where it should live) along the lines of:
interface ComponentFactory { Component create(); }
so we can update the iconFactory to:
interface IconFactory() implements ComponentFactory { Icon create(); }
this will allow us to update the button constructors that use iconFactory to use ComponentFactory instead?
Closing as inactive. We're currently in the process of moving all the component repositories to a centralized monorepo and need to close all open pull requests. If this is still needed, please re-apply to https://github.com/vaadin/vaadin-flow-components
Implement constructors that use of a Vaadin Icon factory to allow easier construction of Buttons which have icons.
This change is