diff --git a/packages/editor/src/components/editor-help/help-topic-row.native.js b/packages/editor/src/components/editor-help/help-topic-row.native.js index e04ffae4a00b5..89495fc9a601d 100644 --- a/packages/editor/src/components/editor-help/help-topic-row.native.js +++ b/packages/editor/src/components/editor-help/help-topic-row.native.js @@ -9,7 +9,7 @@ import { useNavigation } from '@react-navigation/native'; import { TextControl, Icon } from '@wordpress/components'; import { chevronRight } from '@wordpress/icons'; -const HelpTopicRow = ( { label, icon, screenName } ) => { +const HelpTopicRow = ( { label, icon, screenName, isLastItem } ) => { const navigation = useNavigation(); const openSubSheet = () => { @@ -18,7 +18,7 @@ const HelpTopicRow = ( { label, icon, screenName } ) => { return ( { /* Print out help topics. */ } { HELP_TOPICS.map( - ( { label, icon } ) => { + ( + { label, icon }, + index + ) => { const labelSlug = kebabCase( label ); + const isLastItem = + index === + HELP_TOPICS.length - + 1; return ( ); }