import React, { StyleHTMLAttributes, FC } from 'react';

const Text: FC<{ styles?: React.CSSProperties }> = ({ styles, children }) => (
  <p
    style={{
      fontFamily: 'PingFangSC-Regular',
      fontSize: 12,
      color: '#fff',
      ...styles
    }}
  >
    {children}
  </p>
);

export default Text;
