import React from "react"
import "./index.scss"

interface Props {
  current: number | string
  origin: number | string
}

const Prices: React.FC<Props> = ({ current, origin }) => {
  return (
    <div className="prices">
      <span className="current">
        <span className={"sign"}>¥</span>
        {current}
      </span>
      <span className="origin">¥{origin}</span>
    </div>
  )
}

export default Prices
