// External imports import * as React from "react" import { Link } from "react-router-dom" import { Integer } from "fawkes-server/build/support" // Internal imports import * as ce from "../../../../../helpers/componentEnhancer" export interface ParentProps { value: Integer link?: string } interface StateProps { } interface DispatchProps { } interface LocalState { } class AdvancedTableBodyCellInteger extends React.Component< ParentProps & StateProps & DispatchProps & ce.EnhancedPropsPrivate, LocalState > { render() { return ( {this.props.link ? ( {this.props.value.toString()} ) : ( this.props.value.toString() )} ) } } const stateMappings: ce.StateMappings = (s, props) => ({}) const dispatchMappings: ce.DispatchMappings = (d, props) => ({}) export default ((): React.ComponentType => ce.enhance(AdvancedTableBodyCellInteger, { stateMappings, dispatchMappings }))()