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

35 lines
812 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"
}
];
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
}
};