Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[material-ui][Button] Add target attribute to types #41458

5 changes: 5 additions & 0 deletions packages/mui-material/src/Button/Button.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ export interface ButtonOwnProps {
* If defined, an `a` element will be used as the root node.
*/
href?: string;
/**
* The target for link when the button is clicked.
* @default '_blank'
KumarNitin19 marked this conversation as resolved.
Show resolved Hide resolved
*/
target?: string,
/**
* The size of the component.
* `small` is equivalent to the dense button styling.
Expand Down
Loading