Skip to content

Commit

Permalink
[PR feedback] copy
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Sep 25, 2023
1 parent 7fe66b3 commit 0bc10f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-docs/src/views/call_out/on_dismiss.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default () => {
iconType="iInCircle"
title={
showTitle
? 'You can dismiss this callout by clicking the cross in the top right corner'
? 'You can dismiss this callout by clicking the Close button in the top right corner'
: ''
}
size={smallSize ? 's' : 'm'}
Expand Down
5 changes: 4 additions & 1 deletion src/components/call_out/call_out.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ export const EuiCallOut = forwardRef<HTMLDivElement, EuiCallOutProps>(
);

const dismissButton = onDismiss && (
<EuiI18n token="euiCallOut.dismissAriaLabel" default="Dismiss callout">
<EuiI18n
token="euiCallOut.dismissAriaLabel"
default="Dismiss this callout"
>
{(dismissAriaLabel: string) => (
<EuiButtonIcon
iconType="cross"
Expand Down

0 comments on commit 0bc10f0

Please sign in to comment.