2 ms·
> ModernButton, DarkButton, RetroButton. But there is a lot of room for errors and the interfaces can diverge. Our solution for this was to have an internal Bu
by Izkata 6y ago
> ModernButton, DarkButton, RetroButton. But there is a lot of room for errors and the interfaces can diverge.
Our solution for this was to have an internal Button in the library that defines the interface and handles the functionality, then ModernButton/DarkButton/etc simply use Button in particular ways, blindly passing along everything else they were given.