mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Convert to PrimeVue monorepo
This commit is contained in:
parent
970ba75b06
commit
61929eae75
4144 changed files with 59008 additions and 36177 deletions
46
packages/primevue/scripts/components/card.js
Normal file
46
packages/primevue/scripts/components/card.js
Normal file
|
@ -0,0 +1,46 @@
|
|||
const CardProps = [
|
||||
{
|
||||
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 CardSlots = [
|
||||
{
|
||||
name: 'header',
|
||||
description: 'Custom content for the component header.'
|
||||
},
|
||||
{
|
||||
name: 'title',
|
||||
description: 'Custom content for the component title.'
|
||||
},
|
||||
{
|
||||
name: 'subtitle',
|
||||
description: 'Custom content for the component subtitle.'
|
||||
},
|
||||
{
|
||||
name: 'content',
|
||||
description: 'Custom content for the component content.'
|
||||
},
|
||||
{
|
||||
name: 'footer',
|
||||
description: 'Custom content for the component footer.'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
card: {
|
||||
name: 'Card',
|
||||
description: 'Card is a flexible container component.',
|
||||
props: CardProps,
|
||||
slots: CardSlots
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue