diff --git a/packages/ui-table/src/Table/README.md b/packages/ui-table/src/Table/README.md
index 0067ab536a..20f6576d4b 100644
--- a/packages/ui-table/src/Table/README.md
+++ b/packages/ui-table/src/Table/README.md
@@ -486,7 +486,14 @@ By default, the options in the `Select` for sorting in stacked layout are genera
sortDirection: id === sortBy ? direction : 'none'
})}
>
- {text}
+ {id === sortBy ? (
+ text
+ ) : (
+ <>
+ {text}
+ sort by {text}
+ >
+ )}
))}
@@ -726,7 +733,14 @@ By default, the options in the `Select` for sorting in stacked layout are genera
sortDirection: id === sortBy ? direction : 'none'
})}
>
- {text}
+ {id === sortBy ? (
+ text
+ ) : (
+ <>
+ {text}
+ sort by {text}
+ >
+ )}
))}
@@ -980,7 +994,16 @@ that selection does not re-paginate or re-sort the table, and pagination does no
onRequestSort={onSort}
sortDirection={id === sortBy ? direction : 'none'}
>
- {text}
+ {id === sortBy ? (
+ text
+ ) : (
+ <>
+ {text}
+
+ sort by {text}
+
+ >
+ )}
))}
@@ -1310,7 +1333,16 @@ that selection does not re-paginate or re-sort the table, and pagination does no
onRequestSort={onSort}
sortDirection={id === sortBy ? direction : 'none'}
>
- {text}
+ {id === sortBy ? (
+ text
+ ) : (
+ <>
+ {text}
+
+ sort by {text}
+
+ >
+ )}
))}