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

45 lines
1.1 KiB
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.'
2023-07-06 13:20:37 +00:00
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
}
];
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
}
};