Fixed #3599 - Menu: start and end templating

This commit is contained in:
Tuğçe Küçükoğlu 2023-01-27 16:25:28 +03:00
parent f1b1cdf189
commit cf635e5caa
4 changed files with 45 additions and 1 deletions

View file

@ -49,6 +49,14 @@ export interface MenuProps {
}
export interface MenuSlots {
/**
* Custom start template.
*/
start: () => VNode[];
/**
* Custom end template.
*/
end: () => VNode[];
/**
* Custom item template.
* @param {Object} scope - item slot's params.