@inkline/inkline
Version:
Inkline is the intuitive UI Components library that gives you a developer-friendly foundation for building high-quality, accessible, and customizable Vue.js 3 Design Systems.
97 lines (96 loc) • 2.46 kB
TypeScript
import type { PropType } from 'vue';
declare const _default: import("vue").DefineComponent<{
/**
* Display the collapsible as an accordion, keeping a maximum of one open collapsible item
* @type Boolean
* @default false
* @name accordion
*/
accordion: {
type: BooleanConstructor;
default: boolean;
};
/**
* The color variant of the collapsible
* @type light | dark | transparent
* @default
* @name color
*/
color: {
type: StringConstructor;
default: undefined;
};
/**
* The size variant of the collapsible
* @type sm | md | lg
* @default
* @name size
*/
size: {
type: StringConstructor;
default: undefined;
};
/**
* Used to determine which collapsible item is open
* @type String[]
* @default
* @name modelValue
*/
modelValue: {
type: PropType<string[]>;
default: () => string[];
};
}, {
classes: import("vue").ComputedRef<{
[x: string]: boolean;
}>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* Display the collapsible as an accordion, keeping a maximum of one open collapsible item
* @type Boolean
* @default false
* @name accordion
*/
accordion: {
type: BooleanConstructor;
default: boolean;
};
/**
* The color variant of the collapsible
* @type light | dark | transparent
* @default
* @name color
*/
color: {
type: StringConstructor;
default: undefined;
};
/**
* The size variant of the collapsible
* @type sm | md | lg
* @default
* @name size
*/
size: {
type: StringConstructor;
default: undefined;
};
/**
* Used to determine which collapsible item is open
* @type String[]
* @default
* @name modelValue
*/
modelValue: {
type: PropType<string[]>;
default: () => string[];
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {
color: string;
size: string;
modelValue: string[];
accordion: boolean;
}, {}>;
export default _default;