/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {h} from 'preact'; import {FunctionEntryRenderable} from '../entities/renderables'; import { PARAM_KEYWORD_CLASS_NAME, REFERENCE_HEADER, REFERENCE_MEMBERS, REFERENCE_MEMBERS_CONTAINER, REFERENCE_MEMBER_CARD, REFERENCE_MEMBER_CARD_BODY, } from '../styling/css-classes'; import {ClassMethodInfo} from './class-method-info'; import {HeaderApi} from './header-api'; import {TabApi} from './tab-api'; import {TabDescription} from './tab-description'; import {TabUsageNotes} from './tab-usage-notes'; /** Component to render a function API reference document. */ export function FunctionReference(entry: FunctionEntryRenderable) { return (
{entry.returnType}