2022-09-12 07:13:52 +00:00
|
|
|
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.'
|
2022-09-12 07:13:52 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
const ToolbarSlots = [
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'start',
|
2022-09-12 07:13:52 +00:00
|
|
|
description: "Custom content for the component's left side"
|
|
|
|
},
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'end',
|
2022-09-12 07:13:52 +00:00
|
|
|
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"
|
2022-09-12 07:13:52 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
toolbar: {
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'Toolbar',
|
|
|
|
description: 'Toolbar is a grouping component for buttons and other content.',
|
2022-09-12 07:13:52 +00:00
|
|
|
props: ToolbarProps,
|
|
|
|
slots: ToolbarSlots
|
|
|
|
}
|
|
|
|
};
|