Is there a way we can limit the element type to for eg: Button and a?
Been trying to use this helper but I want to narrow it down in some scenarios like <Button as="a"> while disallowing <Button as="form> or any other element other than button | a.
Haven't been able to figure out how to do it yet. Any pointers would be greatly appreciated!