mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Lint changes
This commit is contained in:
parent
eb2de5460c
commit
4d3a071e66
291 changed files with 28450 additions and 26621 deletions
|
@ -1,47 +1,47 @@
|
|||
const AvatarProps = [
|
||||
{
|
||||
name: "label",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Defines the text to display."
|
||||
name: 'label',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Defines the text to display.'
|
||||
},
|
||||
{
|
||||
name: "icon",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Defines the icon to display."
|
||||
name: 'icon',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Defines the icon to display.'
|
||||
},
|
||||
{
|
||||
name: "image",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Defines the image to display."
|
||||
name: 'image',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Defines the image to display.'
|
||||
},
|
||||
{
|
||||
name: "size",
|
||||
type: "string",
|
||||
default: "null",
|
||||
name: 'size',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Size of the element, valid options are "large" and "xlarge".'
|
||||
},
|
||||
{
|
||||
name: "shape",
|
||||
type: "string",
|
||||
default: "square",
|
||||
name: 'shape',
|
||||
type: 'string',
|
||||
default: 'square',
|
||||
description: 'Shape of the element, valid options are "square" and "circle".'
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
const AvatarEvents = [
|
||||
{
|
||||
name: "error",
|
||||
description: "Triggered when an error occurs while loading an image file."
|
||||
name: 'error',
|
||||
description: 'Triggered when an error occurs while loading an image file.'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
avatar: {
|
||||
name: "Avatar",
|
||||
description: "Avatar represents people using icons, labels and images.",
|
||||
name: 'Avatar',
|
||||
description: 'Avatar represents people using icons, labels and images.',
|
||||
props: AvatarProps,
|
||||
events: AvatarEvents
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue