I want to have a function named Control that can be overloaded with props of two different types. This is the code I wrote. But it throws an error while trying to a
Control