William O'Beirne 2309d05c06 Disable more wallets conditionally + explain why (#924)
* Add more wallet disables, move all into selector.

* Add reasons for disabled wallets.

* Disable read only in lite send.

* Fix view address showing insecure icon.
2018-01-26 14:08:39 -06:00

22 lines
441 B
TypeScript

import React from 'react';
import classnames from 'classnames';
import './Tooltip.scss';
interface Props {
children: React.ReactElement<string> | string;
size?: 'sm' | 'md' | 'lg';
}
const Tooltip: React.SFC<Props> = ({ size, children }) => (
<div
className={classnames({
Tooltip: true,
[`is-size-${size}`]: !!size
})}
>
<span className="Tooltip-text">{children}</span>
</div>
);
export default Tooltip;