text: /**
   * Copyright (c) 2013-present, Facebook, Inc.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  import SyntheticEvent from 'events/SyntheticEvent';
  
  /**
   * @interface Event
   * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents
   */
  const CompositionEventInterface = {
    data: null,
  };
  
  /**
   * @param {object} dispatchConfig Configuration used to dispatch this event.
   * @param {string} dispatchMarker Marker identifying the event target.
   * @param {object} nativeEvent Native browser event.
   * @extends {SyntheticEvent}
   */
  function SyntheticCompositionEvent(
    dispatchConfig,
    dispatchMarker,
    nativeEvent,
    nativeEventTarget,
  ) {
    return SyntheticEvent.call(
      this,
      dispatchConfig,
      dispatchMarker,
      nativeEvent,
      nativeEventTarget,
    );
  }
  
  SyntheticEvent.augmentClass(
    SyntheticCompositionEvent,
    CompositionEventInterface,
  );
  
  export default SyntheticCompositionEvent;
  