Make DownloadButton props optional (an disabled DownloadButton has no link, disabled should be false by default)

This commit is contained in:
Florian Scholdei
2019-11-26 15:20:44 +01:00
parent 6d80f78cfd
commit d4afbd6a0a

View File

@@ -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;
}; };