import { ChipIcon, CogIcon, InformationCircleIcon, } from '@heroicons/react/solid'; import { SchemaMetadata } from '@nrwl/nx-dev/models-package'; import { renderMarkdown } from '@nrwl/nx-dev/ui-markdoc'; import Link from 'next/link'; import React from 'react'; import { Heading2 } from './headings'; export function PackageReference({ executors, generators, name, }: { executors: SchemaMetadata[]; generators: SchemaMetadata[]; name: string; }): JSX.Element { return ( <>

Here is a list of all the executors and generators available from this package.

{/* SPACER */}
    {generators.map((generator) => ( ))} {generators.length === 0 && }
); } function SchemaListItem({ schema, type, packageName, }: { schema: SchemaMetadata; type: 'executor' | 'generator'; packageName: string; }): JSX.Element { return (
  • {type === 'executor' ? ( ) : ( )}

    {schema.name}

    {renderMarkdown({ content: schema.description, data: {}, filePath: '', })}
  • ); } function EmptyList({ type }: { type: 'executor' | 'generator' }): JSX.Element { return (
  • ); }