mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #3802 - Improve folder structure for nuxt configurations
This commit is contained in:
parent
851950270b
commit
f5fe822afb
563 changed files with 1703 additions and 1095 deletions
81
components/lib/chip/Chip.d.ts
vendored
Normal file
81
components/lib/chip/Chip.d.ts
vendored
Normal file
|
@ -0,0 +1,81 @@
|
|||
/**
|
||||
*
|
||||
* Chip represents people using icons, labels and images.
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/chip)
|
||||
*
|
||||
* @module chip
|
||||
*
|
||||
*/
|
||||
import { VNode } from 'vue';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
/**
|
||||
* Defines valid properties in Chip component.
|
||||
*/
|
||||
export interface ChipProps {
|
||||
/**
|
||||
* Defines the text to display.
|
||||
*/
|
||||
label?: string;
|
||||
/**
|
||||
* Defines the icon to display.
|
||||
*/
|
||||
icon?: string;
|
||||
/**
|
||||
* Defines the image to display.
|
||||
*/
|
||||
image?: string;
|
||||
/**
|
||||
* Whether to display a remove icon.
|
||||
* @defaultValue false
|
||||
*/
|
||||
removable?: boolean;
|
||||
/**
|
||||
* Icon of the remove element.
|
||||
* @defaultValue pi pi-times-circle
|
||||
*/
|
||||
removeIcon?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid slots in Chip component.
|
||||
*/
|
||||
export interface ChipSlots {
|
||||
/**
|
||||
* Content can easily be customized with the default slot instead of using the built-in modes.
|
||||
*/
|
||||
default(): VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid properties in Chip component.
|
||||
*/
|
||||
export interface ChipEmits {
|
||||
/**
|
||||
* Callback to invoke when a chip is removed.
|
||||
* @param {Event} event - Browser event.
|
||||
*/
|
||||
remove(event: Event): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - Chip**
|
||||
*
|
||||
* _Chip represents people using icons, labels and images._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/chip/)
|
||||
* --- ---
|
||||
* 
|
||||
*
|
||||
* @group Component
|
||||
*/
|
||||
declare class Chip extends ClassComponent<ChipProps, ChipSlots, ChipEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
Chip: GlobalComponentConstructor<Chip>;
|
||||
}
|
||||
}
|
||||
|
||||
export default Chip;
|
Loading…
Add table
Add a link
Reference in a new issue