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
44
packages/primevue/scripts/components/toolbar.js
Normal file
44
packages/primevue/scripts/components/toolbar.js
Normal file
|
@ -0,0 +1,44 @@
|
|||
const ToolbarProps = [
|
||||
{
|
||||
name: 'aria-labelledby',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Defines a string value that labels an interactive element.'
|
||||
},
|
||||
{
|
||||
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 ToolbarSlots = [
|
||||
{
|
||||
name: 'start',
|
||||
description: "Custom content for the component's left side"
|
||||
},
|
||||
{
|
||||
name: 'end',
|
||||
description: "Custom content for the component's right side"
|
||||
},
|
||||
{
|
||||
name: 'center',
|
||||
description: "Custom content for the component's center"
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
toolbar: {
|
||||
name: 'Toolbar',
|
||||
description: 'Toolbar is a grouping component for buttons and other content.',
|
||||
props: ToolbarProps,
|
||||
slots: ToolbarSlots
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue