import * as React from 'react';
import styles from './index.less';
import { IRenderer } from '../../index.data';

const TextRenderer: IRenderer<string> = ({ value, style }) => {
  return (
    <div className={styles['container']} style={style}>
      {value}
    </div>
  );
};

export default TextRenderer;
