mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Convert to PrimeVue monorepo
This commit is contained in:
parent
970ba75b06
commit
61929eae75
4144 changed files with 59008 additions and 36177 deletions
52
packages/primevue/scripts/components/confirmpopup.js
Normal file
52
packages/primevue/scripts/components/confirmpopup.js
Normal file
|
@ -0,0 +1,52 @@
|
|||
const ConfirmPopupProps = [
|
||||
{
|
||||
name: 'group',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance.'
|
||||
},
|
||||
{
|
||||
name: 'pt',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Used to pass attributes to DOM elements inside the component.'
|
||||
},
|
||||
{
|
||||
name: 'unstyled',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'When enabled, it removes component related styles in the core.'
|
||||
}
|
||||
];
|
||||
|
||||
const ConfirmPopupSlots = [
|
||||
{
|
||||
name: 'message',
|
||||
description: 'Custom content for the component.'
|
||||
},
|
||||
{
|
||||
name: 'icon',
|
||||
description: 'Custom icon template.'
|
||||
},
|
||||
{
|
||||
name: 'accepticon',
|
||||
description: 'Custom accept icon template.'
|
||||
},
|
||||
{
|
||||
name: 'rejecticon',
|
||||
description: 'Custom reject icon template.'
|
||||
},
|
||||
{
|
||||
name: 'container',
|
||||
description: 'Custom container template.'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
confirmpopup: {
|
||||
name: 'ConfirmPopup',
|
||||
description: 'ConfirmPopup displays a confirmation overlay displayed relatively to its target.',
|
||||
props: ConfirmPopupProps,
|
||||
slots: ConfirmPopupSlots
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue