import * as React from "react" ; import AemComponent from "./AemComponent" ; export interface EditMarkerProps { label ? : string ; } export default class EditMarker extends AemComponent < EditMarkerProps , any > { public render ( ) { if ( this . getWcmmode ( ) === "edit" ) { return < h3 className = "placeholder" > { this . props . label } < /h3>; } else { return null ; } } }