Lint changes

This commit is contained in:
Bahadir Sofuoglu 2022-09-14 17:26:41 +03:00
parent eb2de5460c
commit 4d3a071e66
291 changed files with 28450 additions and 26621 deletions

View file

@ -1,58 +1,58 @@
const ButtonProps = [
{
name: "label",
type: "string",
default: "null",
description: "Text of the button."
name: 'label',
type: 'string',
default: 'null',
description: 'Text of the button.'
},
{
name: "icon",
type: "string",
default: "null",
description: "Name of the icon."
name: 'icon',
type: 'string',
default: 'null',
description: 'Name of the icon.'
},
{
name: "iconPos",
type: "string",
default: "left",
name: 'iconPos',
type: 'string',
default: 'left',
description: 'Position of the icon, valid values are "left", "right", "bottom" and "top".'
},
{
name: "iconClass",
type: "string",
default: "null",
description: "Style class of the icon."
name: 'iconClass',
type: 'string',
default: 'null',
description: 'Style class of the icon.'
},
{
name: "badge",
type: "string",
default: "null",
description: "Value of the badge."
name: 'badge',
type: 'string',
default: 'null',
description: 'Value of the badge.'
},
{
name: "badgeClass",
type: "string",
default: "null",
description: "Style class of the badge."
name: 'badgeClass',
type: 'string',
default: 'null',
description: 'Style class of the badge.'
},
{
name: "loading",
type: "boolean",
default: "false",
description: "Whether the button is in loading state."
name: 'loading',
type: 'boolean',
default: 'false',
description: 'Whether the button is in loading state.'
},
{
name: "loadingIcon",
type: "string",
default: "pi pi-spinner pi-spin",
description: "Icon to display in loading state."
name: 'loadingIcon',
type: 'string',
default: 'pi pi-spinner pi-spin',
description: 'Icon to display in loading state.'
}
];
module.exports = {
button: {
name: "Button",
description: "Button is an extension to standard button element with icons and theming.",
name: 'Button',
description: 'Button is an extension to standard button element with icons and theming.',
props: ButtonProps
}
};