mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +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 = {
|
||||
displayName: string;
|
||||
url: string;
|
||||
disabled: boolean;
|
||||
url?: string;
|
||||
disabled?: boolean;
|
||||
onClick?: () => void;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user