text: import React from 'react';
  
  import Parser from './Parser';
  
  export default function CustomChat(props) {
    const {
      className,
      minimized,
      children,
      pageId,
      onParse,
      themeColor,
      loggedInGreeting,
      loggedOutGreeting
    } = props;
  
    return React.createElement(
      Parser,
      { className: className, onParse: onParse },
      React.createElement(
        'div',
        {
          className: 'fb-customerchat',
          page_id: pageId,
          minimized: minimized,
          theme_color: themeColor,
          logged_in_greeting: loggedInGreeting,
          logged_out_greeting: loggedOutGreeting
        },
        children
      )
    );
  }
  
  CustomChat.defaultProps = {
    minimized: undefined,
    children: undefined,
    className: undefined,
    onParse: undefined,
    themeColor: undefined,
    loggedInGreeting: undefined,
    loggedOutGreeting: undefined
  };
  //# sourceMappingURL=CustomChat.js.map