@create-figma-plugin/ui
Version:
Production-grade Preact components that replicate the Figma UI design
12 lines • 592 B
TypeScript
import { ComponentChildren } from 'preact';
import { FocusableComponentProps } from '../../types/focusable-component-props.js';
export interface LinkProps extends FocusableComponentProps<HTMLAnchorElement> {
children: ComponentChildren;
fullWidth?: boolean;
href: string;
target?: string;
}
export declare const Link: import("preact").FunctionalComponent<Omit<import("../../utilities/create-component.js").MixinHTMLElementAttributes<HTMLAnchorElement, LinkProps>, "ref"> & {
ref?: import("preact").Ref<HTMLAnchorElement> | undefined;
}>;
//# sourceMappingURL=link.d.ts.map