From 54a8cc66377870b5b9c10c2c8b33b512c010defd Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 4 Feb 2022 20:02:11 +0800 Subject: [PATCH] Merge pull request #17404 from symmetriq/section-row-fix-typo Addon-docs: Fix typo in ArgsTable tooltip --- lib/components/src/blocks/ArgsTable/SectionRow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/src/blocks/ArgsTable/SectionRow.tsx b/lib/components/src/blocks/ArgsTable/SectionRow.tsx index 3155dfc84957..d92ab2985396 100644 --- a/lib/components/src/blocks/ArgsTable/SectionRow.tsx +++ b/lib/components/src/blocks/ArgsTable/SectionRow.tsx @@ -100,7 +100,7 @@ export const SectionRow: FC = ({ const caption = level === 'subsection' ? `${itemCount} item${itemCount !== 1 ? 's' : ''}` : ''; const icon = expanded ? 'arrowdown' : 'arrowright'; - const helperText = `${expanded ? 'Hide' : 'Side'} ${ + const helperText = `${expanded ? 'Hide' : 'Show'} ${ level === 'subsection' ? itemCount : label } item${itemCount !== 1 ? 's' : ''}`;