import React, { FunctionComponent } from "react"; import styled from "styled-components/macro"; import { RowBetween, RowFixed } from "../Row"; import { TYPE } from "../../theme"; import { Info } from "react-feather"; import { MouseoverTooltipContent } from "../Tooltip"; const StyledSwapHeader = styled.div` padding: 1rem 1.25rem 0.5rem 1.25rem; width: 100%; color: ${({ theme }) => theme.text2}; `; const StyledInfo = styled(Info)` opacity: 0.4; color: ${({ theme }) => theme.text1}; height: 16px; width: 16px; :hover { opacity: 0.8; } `; const LimitPrice = styled.b` color: ${({ theme }) => theme.primary2}; `; const PrimaryText = styled.b` color: ${({ theme }) => theme.primary2}; `; const ToolTipText = () => ( <>
{" "} A stop-limit order triggers the submission of a limit order, once the stock reaches, or breaks through, a specified stop price.
A stop-limit order consists of two prices: the{" "}
The