import React from "react";
import { Text } from "../../../components";
import styled from "styled-components";
import { withTokens } from "../../libs";
import { CryptoIcon } from "../CryptoIcon/CryptoIcon";
const Wrapper = styled.div `
  ${withTokens("spacing-xxxs", "colors-content-subdued-default-default")}

  display: flex;
  flex-direction: row;
  align-items: center;
`;
export const Address = ({ address, showIcon, cryptoId, ticker, }) => {
    return (React.createElement(Wrapper, null,
        React.createElement(Text, { marginRight: "var(--spacing-xxxs)", fontSize: "12px", color: "var(--colors-content-subdued-default-default)" }, address),
        showIcon && React.createElement(CryptoIcon, { ledgerId: cryptoId, ticker: ticker })));
};
//# sourceMappingURL=Address.js.map