feat(button): add to prop type
The docs do show that the "to" prop is usable on the button, but the types don't support it, making it hard to use in types components. https://primevue.org/button/#linkpull/7077/head
parent
536d21cef1
commit
6507c612ea
|
@ -207,6 +207,10 @@ export interface ButtonProps extends ButtonHTMLAttributes {
|
|||
* @defaultValue false
|
||||
*/
|
||||
unstyled?: boolean;
|
||||
/**
|
||||
* Route Location the router-link should navigate to when clicked on.
|
||||
*/
|
||||
to?: string
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue