import { FunctionComponent } from 'react'; import Message from '@patternfly/chatbot/dist/dynamic/Message'; import patternflyAvatar from './patternfly_avatar.jpg'; import { CopyIcon, WrenchIcon } from '@patternfly/react-icons'; export const MessageWithQuickResponsesExample: FunctionComponent = () => ( <> alert('Clicked yes') }, { id: '2', content: 'No', onClick: () => alert('Clicked no') } ]} /> alert('Clicked Edge') }, { id: '2', content: 'Google Chrome', onClick: () => alert('Clicked Chrome') }, { id: '3', content: 'Mozilla Firefox', onClick: () => alert('Clicked Firefox') }, { id: '4', content: 'Apple Safari', onClick: () => alert('Clicked Safari') }, { id: '5', content: 'Internet Explorer', onClick: () => alert('Clicked Internet Explorer') } ]} /> alert('Clicked id 1') }, { id: '2', content: 'Show my critical vulnerabilities', onClick: () => alert('Clicked id 2') }, { id: '3', content: 'Create new integrations', onClick: () => alert('Clicked id 3') }, { id: '4', content: 'Get recommendations from an advisor', onClick: () => alert('Clicked id 4') }, { id: '5', content: 'Something else', onClick: () => alert('Clicked id 5') } ]} /> alert('Clicked no') } ]} /> alert('Clicked id 1') }, { id: '2', content: 'Show my critical vulnerabilities', onClick: () => alert('Clicked id 2') }, { id: '3', content: 'Create new integrations', onClick: () => alert('Clicked id 3') }, { id: '4', content: 'Get recommendations from an advisor', onClick: () => alert('Clicked id 4') }, { id: '5', content: 'Something else', onClick: () => alert('Clicked id 5') } ]} /> alert('Clicked id 1') }, { id: '2', content: 'No', onClick: () => alert('Clicked id 2') } ]} isCompact /> alert('Clicked yes'), icon: }, { id: '2', content: 'Copy', onClick: () => alert('Clicked no'), icon: } ]} /> );