diff --git a/packages/react-core/src/components/ApplicationLauncher/ApplicationLauncherItem.tsx b/packages/react-core/src/components/ApplicationLauncher/ApplicationLauncherItem.tsx index 809f4a24c35..1ba1f3bbadd 100644 --- a/packages/react-core/src/components/ApplicationLauncher/ApplicationLauncherItem.tsx +++ b/packages/react-core/src/components/ApplicationLauncher/ApplicationLauncherItem.tsx @@ -16,14 +16,9 @@ export interface ApplicationLauncherItemProps { tooltip?: React.ReactNode; /** Additional tooltip props forwarded to the Tooltip component */ tooltipProps?: any; - /** The component that will wrap the item. - * If you need to render a custom component, for example a react router Link component, - * then pass the component here. Example: - * - * Router link - * - * } /> + /** A ReactElement to render, or a string to use as the component tag. + * Example: component={Alert} + * Example: component="button" */ component?: React.ReactNode; /** Flag indicating if the item is favorited */ diff --git a/packages/react-core/src/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap b/packages/react-core/src/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap index 39923fca11a..63c36297977 100644 --- a/packages/react-core/src/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap +++ b/packages/react-core/src/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap @@ -581,7 +581,6 @@ exports[`ApplicationLauncher custom icon 1`] = ` } } enterTriggersArrowDown={false} - href="" index={0} isDisabled={false} isHovered={false} @@ -601,7 +600,6 @@ exports[`ApplicationLauncher custom icon 1`] = ` Link @@ -624,7 +622,6 @@ exports[`ApplicationLauncher custom icon 1`] = ` } } enterTriggersArrowDown={false} - href="" index={1} isDisabled={false} isHovered={false} @@ -644,7 +641,6 @@ exports[`ApplicationLauncher custom icon 1`] = `