UNPKG

@wordpress/block-library

Version:
48 lines 1.13 kB
type NavigationLinkDeprecatedAttributes = { label?: string; type?: string; nofollow?: boolean; description?: string; id?: number; opensInNewTab?: boolean; url?: string; }; declare const deprecated: { isEligible(attributes: NavigationLinkDeprecatedAttributes): boolean | undefined; attributes: { label: { type: string; }; type: { type: string; }; nofollow: { type: string; }; description: { type: string; }; id: { type: string; }; opensInNewTab: { type: string; default: boolean; }; url: { type: string; }; }; migrate({ nofollow, ...rest }: NavigationLinkDeprecatedAttributes): { label?: string; type?: string; description?: string; id?: number; opensInNewTab?: boolean; url?: string; rel: string; }; save(): import("react").JSX.Element; }[]; export default deprecated; //# sourceMappingURL=deprecated.d.ts.map