import React from 'react' ; import { CustomComponentProps } from 'react-simple-chatbot' ; import Markdown from './markdown' ; export const MarkdownBubble = ( { previousStep , step , steps , ... rest } ) => { const size = step . metadata && step . metadata . size ; return < Markdown size = { size } { ... rest } />; } ; export default MarkdownBubble ;