mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #3695 - Button: New Styling Properties
This commit is contained in:
parent
d0a6d6023f
commit
108a88c814
3 changed files with 121 additions and 8 deletions
|
@ -46,6 +46,48 @@ const ButtonProps = [
|
|||
type: 'string',
|
||||
default: 'pi pi-spinner pi-spin',
|
||||
description: 'Icon to display in loading state.'
|
||||
},
|
||||
{
|
||||
name: 'link',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'Add a link style to the button.'
|
||||
},
|
||||
{
|
||||
name: 'severity',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Defines the style of the button, valid values are "secondary", "success", "info", "warning", "danger".'
|
||||
},
|
||||
{
|
||||
name: 'raised',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'Add a shadow to indicate elevation.'
|
||||
},
|
||||
{
|
||||
name: 'rounded',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'Add a circular border radius to the button.'
|
||||
},
|
||||
{
|
||||
name: 'text',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'Add a textual class to the button without a background initially.'
|
||||
},
|
||||
{
|
||||
name: 'outlined',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'Add a border class without a background initially.'
|
||||
},
|
||||
{
|
||||
name: 'size',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Defines the size of the button, valid values are "small" and "large".'
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue