mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
Make DownloadButton props optional (an disabled DownloadButton has no link, disabled should be false by default)
This commit is contained in:
@@ -2,8 +2,8 @@ import React from "react";
|
|||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
displayName: string;
|
displayName: string;
|
||||||
url: string;
|
url?: string;
|
||||||
disabled: boolean;
|
disabled?: boolean;
|
||||||
onClick?: () => void;
|
onClick?: () => void;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user