/**
 * @description 头部最新价格
 *
 * @date 创建时间 2022-10-29 14:30
 * @author 开发人员
 */

import React from "react";
import clsx from "clsx";

export interface LastPriceProps {
  lastPrice?: string;
  className?: string;
}

const LastPrice: React.FC<LastPriceProps> = props => {
  const { lastPrice = "42,209.69" } = props;

  return <div className={clsx(" px-[20px] text-[22px] font-bold", props.className)}>{lastPrice}</div>;
};

export default LastPrice;
