diff --git a/packages/components/src/navigator/index.ts b/packages/components/src/navigator/index.tsx similarity index 100% rename from packages/components/src/navigator/index.ts rename to packages/components/src/navigator/index.tsx diff --git a/packages/components/src/navigator/navigator/component.tsx b/packages/components/src/navigator/navigator/component.tsx index 41d80f6c31783b..08a0ebfd26f0fc 100644 --- a/packages/components/src/navigator/navigator/component.tsx +++ b/packages/components/src/navigator/navigator/component.tsx @@ -272,32 +272,4 @@ function UnconnectedNavigator( ); } -/** - * The `Navigator` component allows rendering nested views/panels/menus - * (via the `Navigator.Screen` component) and navigate between these different - * view (via the `Navigator.Button` and `Navigator.BackButton` components or the - * `useNavigator` hook). - * - * ```jsx - * import { Navigator } from '@wordpress/components'; - * - * const MyNavigation = () => ( - * - * - *

This is the home screen.

- * - * Navigate to child screen. - * - *
- * - * - *

This is the child screen.

- * - * Go back - * - *
- *
- * ); - * ``` - */ export const Navigator = contextConnect( UnconnectedNavigator, 'Navigator' );