UNPKG

@vscode/webview-ui-toolkit

Version:

A component library for building webview-based extensions in Visual Studio Code.

28 lines (27 loc) 617 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { Anchor as FoundationAnchor, anchorTemplate as template, } from '@microsoft/fast-foundation'; import { linkStyles as styles } from './link.styles.js'; /** * The Visual Studio Code link class. * * @public */ export class Link extends FoundationAnchor { } /** * The Visual Studio Code link component registration. * * @remarks * HTML Element: `<vscode-link>` * * @public */ export const vsCodeLink = Link.compose({ baseName: 'link', template, styles, shadowOptions: { delegatesFocus: true, }, });