import React, { useMemo } from 'react';

function LargeScreenComponentTitle(props: ILargeScreenComponentTitle) {
  const { value = '', styleText,  styles} = props;


  const Dom = useMemo(() => {
    return (
      <div
        style={{ ...styles }}
      >
       {value}
      </div>
    );
  }, [value, styles, styleText]);

  return Dom;
}
export default LargeScreenComponentTitle;

export interface ILargeScreenComponentTitle {
  value?: string;
  styleText?: React.CSSProperties;
  change?: Function;
  styles: React.CSSProperties;
  data?: string;
}
