diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-04 04:51:58 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-04 04:51:58 +0800 |
commit | 3b78188fec8654ff9338afb22708279bf2335c70 (patch) | |
tree | abe5ce1f46c70a47b0a272dfb8ec1b2583425b1d /packages/website/ts/components/ui | |
parent | a52eb813809448db4957cec5c78317419c98ddba (diff) | |
download | dexon-0x-contracts-3b78188fec8654ff9338afb22708279bf2335c70.tar.gz dexon-0x-contracts-3b78188fec8654ff9338afb22708279bf2335c70.tar.zst dexon-0x-contracts-3b78188fec8654ff9338afb22708279bf2335c70.zip |
Show different download links and icons when on mobile
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r-- | packages/website/ts/components/ui/image.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/website/ts/components/ui/image.tsx b/packages/website/ts/components/ui/image.tsx index 369dc8b7e..c4ff93531 100644 --- a/packages/website/ts/components/ui/image.tsx +++ b/packages/website/ts/components/ui/image.tsx @@ -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} /> |