primevue-mirror/api-generator/components/toolbar.js

39 lines
914 B
JavaScript
Raw Normal View History

const ToolbarProps = [
{
2022-09-14 14:26:41 +00:00
name: 'aria-labelledby',
type: 'string',
default: 'null',
description: 'Defines a string value that labels an interactive element.'
2023-03-28 12:20:20 +00:00
},
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.'
}
];
const ToolbarSlots = [
{
2022-09-14 14:26:41 +00:00
name: 'start',
description: "Custom content for the component's left side"
},
{
2022-09-14 14:26:41 +00:00
name: 'end',
description: "Custom content for the component's right side"
2023-04-18 13:42:36 +00:00
},
{
name: 'center',
description: "Custom content for the component's center"
}
];
module.exports = {
toolbar: {
2022-09-14 14:26:41 +00:00
name: 'Toolbar',
description: 'Toolbar is a grouping component for buttons and other content.',
props: ToolbarProps,
slots: ToolbarSlots
}
};