@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
24 lines (23 loc) • 1.01 kB
TypeScript
/**
* 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<{
/**
* The id of the anchor, this should correspond to the URL fragment name.
*/
id: {
type: StringConstructor;
required: true;
};
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* The id of the anchor, this should correspond to the URL fragment name.
*/
id: {
type: StringConstructor;
required: true;
};
}>>, {}, {}>;
export default _default;