mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-21 16:38:48 +00:00
371e6e327c
* Reorganize files to better match other components. * Initial UI for wallet buttons. * Fix leftover rebase conflict. * Wallet selection, styling, mobile handling. * Initial work on animations. * Adjusted animations. * Adjust wallet unlock forms to be more uniform. Fix view address saying 'unlock' * Adjust tooltips. * Fix embedded decrypt components. * Cover whole sign msg form with decrypt. * Give deploy contract a better unlock treatment like sign msg. * Reset decrypt component on hide / show * Unused var * Fix tooltip hover. * Fix hover lift. * Make spacing better on mobile. * Back button mobile handling. * Redesign mobile button icons. Prevent clicking through when clicking on icons. * TSCheck fixes. * Attempt to unlock MetaMask onClick, and provide existing flow with notification when unlock fails. * Get rid of outline. * Remove decrypt min height. Make view only textarea. * Add change wallet buttons to deploy contract and sign msg. * Standardize
15 lines
295 B
TypeScript
15 lines
295 B
TypeScript
import React from 'react';
|
|
import './Tooltip.scss';
|
|
|
|
interface Props {
|
|
children: React.ReactElement<string> | string;
|
|
}
|
|
|
|
const Tooltip: React.SFC<Props> = ({ children }) => (
|
|
<div className="Tooltip">
|
|
<span className="Tooltip-text">{children}</span>
|
|
</div>
|
|
);
|
|
|
|
export default Tooltip;
|