kodama-ui
Version:
Kodama UI is a Vue 3 component library that provides a set of components & funcionality to build your application.
92 lines (91 loc) • 2.14 kB
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
import { RouteLocationRaw } from 'vue-router';
declare const Props: {
id: {
type: StringConstructor;
default: () => string;
description: string;
};
submit: {
type: BooleanConstructor;
default: boolean;
description: string;
};
loading: {
type: BooleanConstructor;
default: boolean;
description: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
description: string;
};
size: {
type: StringConstructor;
control: {
type: string;
};
options: string[];
validator: (val: string) => boolean;
default: string;
description: string;
};
color: {
type: StringConstructor;
control: {
type: string;
};
options: string[];
validator: (val: string) => boolean;
default: string;
description: string;
};
link: {
type: BooleanConstructor;
default: boolean;
description: string;
};
neon: {
type: BooleanConstructor;
default: boolean;
description: string;
};
uppercase: {
type: BooleanConstructor;
default: boolean;
description: string;
};
outline: {
type: BooleanConstructor;
default: boolean;
description: string;
};
zoom: {
type: BooleanConstructor;
default: boolean;
description: string;
};
icon: {
type: PropType<string | string[]>;
default: string;
description: string;
};
iconType: {
type: StringConstructor;
control: {
type: string;
};
options: string[];
validator: (val: string) => boolean;
default: string;
description: string;
};
to: {
type: PropType<RouteLocationRaw>;
default: string;
description: string;
};
};
export type KButtonProps = Readonly<ExtractPropTypes<typeof Props>>;
export default Props;