lbry-desktop/ui/component/fileRenderDownload/view.jsx

16 lines
395 B
React
Raw Permalink Normal View History

// @flow
import React from 'react';
import FileDownloadLink from 'component/fileDownloadLink';
import Card from 'component/common/card';
type Props = {
uri: string,
renderMode: string,
};
export default function FileRenderDownload(props: Props) {
const { uri } = props;
return <Card title={__('Download')} actions={<FileDownloadLink uri={uri} buttonType="primary" showLabel />} />;
}