Show different download links and icons when on mobile

This commit is contained in:
fragosti
2018-07-03 13:51:58 -07:00
parent a52eb81380
commit 3b78188fec
3 changed files with 47 additions and 20 deletions

View File

@@ -6,6 +6,7 @@ export interface ImageProps {
src?: string;
fallbackSrc?: string;
height?: string | number;
borderRadius?: string;
width?: string | number;
}
interface ImageState {
@@ -26,6 +27,9 @@ export class Image extends React.Component<ImageProps, ImageState> {
className={this.props.className}
onError={this._onError.bind(this)}
src={src}
style={{
borderRadius: this.props.borderRadius,
}}
height={this.props.height}
width={this.props.width}
/>