UNPKG

dk-plus

Version:
41 lines (40 loc) 2.81 kB
import type { returnType } from '../../_utils'; import type { PropType, ExtractPropTypes } from 'vue'; import type { dkPlusType, dkTarget, dkPlusSize, MouseEventType, dkPersonalityButtonType } from '../../_interface'; export declare const dkButtonProps: { readonly link: returnType<BooleanConstructor, boolean>; readonly href: returnType<PropType<string>, string | null>; readonly target: returnType<PropType<dkTarget>, dkTarget | null>; readonly text: returnType<BooleanConstructor, boolean>; readonly type: returnType<PropType<dkPlusType>, dkPlusType | null>; readonly size: returnType<PropType<dkPlusSize>, dkPlusSize | null>; readonly fontSize: returnType<PropType<string>, string | null>; readonly fontColor: returnType<PropType<string>, string | null>; readonly bgColor: returnType<PropType<string>, string | null>; readonly disabled: returnType<BooleanConstructor, boolean>; readonly textDecoration: returnType<PropType<string>, string | null>; readonly onClick: returnType<PropType<MouseEventType>, MouseEventType | undefined>; readonly circle: returnType<BooleanConstructor, boolean>; readonly shadow: returnType<PropType<string>, string | null>; readonly ripples: returnType<BooleanConstructor, boolean>; readonly ripplesBgColor: returnType<PropType<string>, string | null>; readonly diffusion: returnType<BooleanConstructor, boolean>; readonly diffusionBgColor: returnType<PropType<string>, string | null>; readonly personality: returnType<BooleanConstructor, boolean>; readonly personalityType: returnType<PropType<dkPersonalityButtonType>, dkPersonalityButtonType | null>; readonly personalitySize: returnType<PropType<dkPlusSize>, dkPlusSize | null>; readonly personalityBorderColor: returnType<PropType<string>, string | null>; readonly personalityBorderHoveColor: returnType<PropType<string>, string | null>; readonly personalityBgColor: returnType<PropType<string>, string | null>; readonly personalityBgHoveColor: returnType<PropType<string>, string | null>; readonly personalityFontColor: returnType<PropType<string>, string | null>; readonly personalityFontHoveColor: returnType<PropType<string>, string | null>; readonly personalityBoxShadow: returnType<PropType<string>, string | null>; readonly personalityBoxShadowHove: returnType<PropType<string>, string | null>; readonly personalityReflect: returnType<PropType<string>, string | null>; readonly loading: returnType<BooleanConstructor, boolean>; readonly round: returnType<BooleanConstructor, boolean>; readonly icon: returnType<PropType<string>, string | null>; readonly afterIcon: returnType<PropType<string>, string | null>; }; export type DkButtonProps = ExtractPropTypes<typeof dkButtonProps>;