Skip to content

Commit

Permalink
grafana/ui: Add disabled prop on LinkButton (grafana#19192)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterholmberg committed Sep 19, 2019
1 parent 79f8433 commit f445369
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/grafana-ui/src/components/Button/AbstractButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ export interface CommonButtonProps {
className?: string;
}

export interface LinkButtonProps extends CommonButtonProps, AnchorHTMLAttributes<HTMLAnchorElement> {}
export interface LinkButtonProps extends CommonButtonProps, AnchorHTMLAttributes<HTMLAnchorElement> {
disabled?: boolean;
}
export interface ButtonProps extends CommonButtonProps, ButtonHTMLAttributes<HTMLButtonElement> {}

interface AbstractButtonProps extends CommonButtonProps, Themeable {
Expand Down

0 comments on commit f445369

Please sign in to comment.