@bee-design/ui
Version:
Bee Design React UI Library.
10 lines (9 loc) • 372 B
TypeScript
/// <reference types="react" />
interface AnchorContext {
currentLink: string;
onLinkClick: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent>, href: string) => void;
addLink: (href: string, node: HTMLElement) => void;
removeLink: (href: string) => void;
}
declare const _default: import("react").Context<AnchorContext>;
export default _default;