| 1 |
/// <reference types="react" /> |
| 2 |
export interface JumpLinksItemProps extends Omit<React.HTMLProps<HTMLLIElement>, 'onClick'> { |
| 3 |
/** Whether this item is active. Parent JumpLinks component sets this when passed a `scrollableSelector`. */ |
| 4 |
isActive?: boolean; |
| 5 |
/** Href for this link */ |
| 6 |
href: string; |
| 7 |
/** Selector or HTMLElement to spy on */ |
| 8 |
node?: string | HTMLElement; |
| 9 |
/** Text to be rendered inside span */ |
| 10 |
children?: React.ReactNode; |
| 11 |
/** Click handler for anchor tag. Parent JumpLinks components tap into this. */ |
| 12 |
onClick?: (ev: React.MouseEvent) => void; |
| 13 |
/** Class to add to li */ |
| 14 |
className?: string; |
| 15 |
} |
| 16 |
export declare const JumpLinksItem: React.FunctionComponent<JumpLinksItemProps>; |
| 17 |
//# sourceMappingURL=JumpLinksItem.d.ts.map |