Skip to content

Commit

Permalink
Address incorrect tooltip text
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccaalpert committed Oct 30, 2024
1 parent c890997 commit de326a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,3 @@ A simple footer with a message bar and footnote would have this code structure:
```js file="./ChatbotFooter.tsx"

```

```
```
6 changes: 3 additions & 3 deletions packages/module/src/MessageBar/StopButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ============================================================================
// Chatbot Footer - Message Bar - Send
// Chatbot Footer - Message Bar - Stop
// ============================================================================
import React from 'react';

Expand All @@ -21,11 +21,11 @@ export const StopButton: React.FunctionComponent<StopButtonProps> = ({
className,
onClick,
tooltipProps,
tooltipContent = 'Send',
tooltipContent = 'Stop',
...props
}: StopButtonProps) => (
<Tooltip
id="pf-chatbot__tooltip--send"
id="pf-chatbot__tooltip--stop"
content={tooltipContent}
position={tooltipProps?.position || 'top'}
entryDelay={tooltipProps?.entryDelay || 0}
Expand Down

0 comments on commit de326a0

Please sign in to comment.