docs(nxdev): cleanup imports (#11561)

This commit is contained in:
Benjamin Cabanes 2022-08-12 10:03:18 -04:00 committed by GitHub
parent 9bea8490ca
commit dd9554987a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 9 deletions

View File

@ -1,11 +1,6 @@
import { DocumentMetadata } from '@nrwl/nx-dev/models-document';
import { Menu, MenuItem, MenuSection } from '@nrwl/nx-dev/models-menu';
import {
createMenuItems,
getBasicSection,
getDeepDiveSection,
getPackageApiSection,
} from './menu.utils';
import { createMenuItems, getPackageApiSection } from './menu.utils';
export class MenuApi {
private menuCache: Menu | null = null;

View File

@ -1,10 +1,10 @@
import { PackageMetadata } from '@nrwl/nx-dev/models-package';
import { Breadcrumbs } from '@nrwl/nx-dev/ui-common';
import { renderMarkdown } from '@nrwl/nx-dev/ui-markdoc';
import cx from 'classnames';
import { NextSeo } from 'next-seo';
import { useRouter } from 'next/router';
import { ReactNode } from 'react';
import { Breadcrumbs } from '@nrwl/nx-dev/ui-common';
import { Heading1 } from './ui/headings';
import { PackageReference } from './ui/package-reference';

View File

@ -1,6 +1,6 @@
import { Listbox, Transition } from '@headlessui/react';
import { CheckIcon, SelectorIcon } from '@heroicons/react/solid';
import { Fragment, ReactComponentElement } from 'react';
import { Fragment } from 'react';
export interface SelectorProps<T> {
items: { label: string; value: string; data?: T }[];

View File

@ -1,8 +1,8 @@
import {
CheckCircleIcon,
ExclamationIcon,
InformationCircleIcon,
HandIcon,
InformationCircleIcon,
} from '@heroicons/react/outline';
import cx from 'classnames';
import { ReactNode } from 'react';