@ownclouders/design-system
Version:
ownCloud Design System is based on VueDesign Systems and is used to design ownCloud UI components
86 lines (85 loc) • 2.26 kB
TypeScript
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
/**
* Specify which component should be used for the tag.
* Can be `span`, `button`, `router-link` or `a`.
*/
type: {
type: StringConstructor;
required: false;
default: string;
validator: (type: string) => boolean;
};
/**
* Target of the router link
*/
to: {
type: (StringConstructor | ObjectConstructor)[];
required: false;
default: any;
};
/**
* The size of the tag. Defaults to medium.
* `small, medium, large`
*/
size: {
type: StringConstructor;
default: string;
validator: (value: string) => boolean;
};
/**
* Enables fully rounded borders
*/
rounded: {
type: BooleanConstructor;
default: boolean;
required: false;
};
}>, {}, {}, {
$_ocTag_class(): string[];
}, {
$_ocTag_click(event: MouseEvent): void;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
/**
* Specify which component should be used for the tag.
* Can be `span`, `button`, `router-link` or `a`.
*/
type: {
type: StringConstructor;
required: false;
default: string;
validator: (type: string) => boolean;
};
/**
* Target of the router link
*/
to: {
type: (StringConstructor | ObjectConstructor)[];
required: false;
default: any;
};
/**
* The size of the tag. Defaults to medium.
* `small, medium, large`
*/
size: {
type: StringConstructor;
default: string;
validator: (value: string) => boolean;
};
/**
* Enables fully rounded borders
*/
rounded: {
type: BooleanConstructor;
default: boolean;
required: false;
};
}>> & Readonly<{
onClick?: (...args: any[]) => any;
}>, {
type: string;
size: string;
to: string | Record<string, any>;
rounded: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;