Esri/react-arcgis

View on GitHub
src/ts/components/ArcContainer.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { Component } from 'react';

export interface ArcContainerProps {
    id: string;
    style?: {
        [propName: string]: any;
    };
}

export interface ArcContainerState {}

export default class ArcContainer extends Component<ArcContainerProps, ArcContainerState> {
    constructor(props: ArcContainerProps) {
        super(props);
    }

    public render() {
        return <div id={this.props.id} style={this.props.style} />;
    }

    public shouldComponentUpdate() {
        return false;
    }
}