How to use the botframework-webchat-component.defaultProps function in botframework-webchat-component

To help you get started, we’ve selected a few botframework-webchat-component examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / BotFramework-WebChat / packages / bundle / src / FullReactWebChat.js View on Github external
}, [adaptiveCardHostConfig]);

  const composerProps = useComposerProps(props);

  return (
    
      
    
  );
};

FullReactWebChat.defaultProps = {
  ...BasicWebChat.defaultProps,
  adaptiveCardHostConfig: undefined,
  adaptiveCardsHostConfig: undefined,
  adaptiveCardsPackage: undefined,
  renderMarkdown: undefined
};

FullReactWebChat.propTypes = {
  ...BasicWebChat.propTypes,
  adaptiveCardHostConfig: PropTypes.any,
  adaptiveCardsHostConfig: PropTypes.any,
  adaptiveCardsPackage: PropTypes.any,
  renderMarkdown: PropTypes.func
};

export default FullReactWebChat;

botframework-webchat-component

React component of botframework-webchat

MIT
Latest version published 12 days ago

Package Health Score

84 / 100
Full package analysis

Similar packages