UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

35 lines (34 loc) 1.16 kB
import { ExtractPropTypes, PropType } from 'vue'; import { ConfigurableProps } from '@vexip-ui/config'; import { AnchorLinkOptions, AnchorSlots } from './symbol'; export declare const anchorProps: { inherit: PropType<boolean>; active: PropType<string>; viewer: PropType<{}>; offset: PropType<number>; marker: PropType<boolean>; scrollDuration: PropType<number>; markerTransition: PropType<string>; options: PropType<AnchorLinkOptions[]>; bindHash: PropType<boolean>; forceActive: PropType<boolean>; slots: PropType<AnchorSlots>; onChange: PropType<((value: string) => void) | ((value: string) => void)[]>; }; export type AnchorProps = ExtractPropTypes<typeof anchorProps>; export type AnchorCProps = ConfigurableProps<AnchorProps, 'viewer'>; export declare const anchorLinkProps: { to: { type: StringConstructor; default: string; }; title: { type: StringConstructor; default: string; }; children: { type: PropType<AnchorLinkOptions[]>; default: () => never[]; }; }; export type AnchorLinkProps = ExtractPropTypes<typeof anchorLinkProps>;