UNPKG

@aotearoan/neon

Version:

Neon is a lightweight design library of Vue 3 components with minimal dependencies.

24 lines (23 loc) 1.04 kB
/** * An HTML anchor component. This component is offset by the top nav (at all responsive breakpoints) which means * fragments will scroll to the correct position offset by the top nav. Just place NeonAnchor directly inside a * positioned element you want to create a fragment for and give it the correct id. */ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ /** * The id of the anchor, this should correspond to the URL fragment name. */ id: { type: StringConstructor; required: true; }; }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ /** * The id of the anchor, this should correspond to the URL fragment name. */ id: { type: StringConstructor; required: true; }; }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;