mirror of
https://github.com/audacity/audacity.github.io.git
synced 2026-06-01 19:51:06 -05:00
add kind property
This commit is contained in:
@@ -28,7 +28,7 @@ function getLastUrlPart(url) {
|
||||
}
|
||||
|
||||
function SplitDownloadButton(props) {
|
||||
const { OS, releaseData } = props;
|
||||
const { OS, kind, releaseData } = props;
|
||||
|
||||
const [isOpen, setIsOpen] = useState(false);
|
||||
const dropdownRef = useRef(null);
|
||||
@@ -73,7 +73,7 @@ function SplitDownloadButton(props) {
|
||||
className="flex items-center gap-3 h-10 pl-4 pr-3 rounded-l-md rounded-bl-md bg-blue-700 hover:bg-blue-600"
|
||||
>
|
||||
<img src={useLogo(OS)} className="w-4 fill-white" />
|
||||
{OS}
|
||||
Download {kind} for {OS}
|
||||
</a>
|
||||
<button
|
||||
onClick={() => handleDropdownButtonClick()}
|
||||
|
||||
Reference in New Issue
Block a user