mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Components added. Build issues fixed
This commit is contained in:
parent
5b66ed1093
commit
18c3721848
344 changed files with 12446 additions and 8758 deletions
17
components/button/Button.d.ts
vendored
17
components/button/Button.d.ts
vendored
|
@ -9,8 +9,8 @@ export interface ButtonProps extends ButtonHTMLAttributes {
|
|||
*/
|
||||
style?: any;
|
||||
/**
|
||||
* Style class of the button.
|
||||
*/
|
||||
* Style class of the button.
|
||||
*/
|
||||
class?: any;
|
||||
/**
|
||||
* Text of the button.
|
||||
|
@ -25,6 +25,10 @@ export interface ButtonProps extends ButtonHTMLAttributes {
|
|||
* Default value is 'left'.
|
||||
*/
|
||||
iconPos?: ButtonIconPosType;
|
||||
/**
|
||||
* Style class of the icon.
|
||||
*/
|
||||
iconClass?: string | undefined;
|
||||
/**
|
||||
* Value of the badge.
|
||||
*/
|
||||
|
@ -51,14 +55,13 @@ export interface ButtonSlots {
|
|||
default: () => VNode[];
|
||||
}
|
||||
|
||||
export declare type ButtonEmits = {
|
||||
}
|
||||
export declare type ButtonEmits = {};
|
||||
|
||||
declare class Button extends ClassComponent<ButtonProps, ButtonSlots, ButtonEmits> { }
|
||||
declare class Button extends ClassComponent<ButtonProps, ButtonSlots, ButtonEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
Button: GlobalComponentConstructor<Button>
|
||||
Button: GlobalComponentConstructor<Button>;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -68,7 +71,7 @@ declare module '@vue/runtime-core' {
|
|||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Button](https://www.primefaces.org/primevue/showcase/#/button)
|
||||
* - [Button](https://www.primefaces.org/primevue/button)
|
||||
*
|
||||
*/
|
||||
export default Button;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue