/// import * as React from 'react'; import { IFieldRendererProps } from '../Common/IFieldRendererProps'; export interface ITextRendererProps extends IFieldRendererProps { /** * text to be displayed */ text?: string; /** * true if props.text can be inserted as innerHTML of the component */ isSafeForInnerHTML?: boolean; /** * true if the text should be truncated */ isTruncated?: boolean; } /** * For future */ export interface ITextRendererState { } /** * Field Text Renderer. * Used for: * - Single line of text * - Multiline text * - Choice * - Checkbox * - Number * - Currency */ export default class TextRenderer extends React.Component { constructor(props: ITextRendererProps, state: ITextRendererState); render(): JSX.Element; }