UNPKG

@maxpike/vue

Version:

Vue VariantJS: Fully configurable Vue 3 components styled with TailwindCSS

18 lines (15 loc) 524 B
import { Data, WithVariantProps } from '@variantjs/core'; import { ButtonHTMLAttributes } from 'vue'; import { VueRouteAriaCurrentValue, VueRouteRouteLocationRaw } from '../vueRouter'; type RouterLinkProps = { to?: VueRouteRouteLocationRaw, replace?: boolean, activeClass?: string, exactActiveClass?: string, custom?: boolean, ariaCurrentValue?: VueRouteAriaCurrentValue, }; export type TButtonOptions = WithVariantProps<{ tagName?: string href?: string } & RouterLinkProps & ButtonHTMLAttributes & Data>;