MyCrypto/common/containers/Tabs/Swap/components/ShapeshiftBanner.tsx
William O'Beirne d1a2c885a2 Performance Improvements (Pure components, debounced gas slider) (#899)
* PureComponent a ton of non-connected components.

* Debounce gas price slider. Keep gas price in state to reflect changes immediately.

* PureComponent balance sidebar and swap unconnected components.

* Import correct component.

* Move debouncing of gas slider to sagas via gasPriceInputIntent action.

* Remove console log.

* Remove leftover file from merge.
2018-01-29 13:13:46 -06:00

18 lines
473 B
TypeScript

import React from 'react';
import './ShapeshiftBanner.scss';
import shapeshiftSvg from 'assets/images/logo-shapeshift.svg';
const ShapeshiftBanner: React.SFC<{}> = () => (
<div className="ShapeshiftBanner">
<div className="ShapeshiftBanner-banner">
<p>
<b className="ShapeshiftBanner-banner-new">New Feature:</b>
Exchange coins & tokens with
</p>
<img src={shapeshiftSvg} />
</div>
</div>
);
export default ShapeshiftBanner;