|
|
|
@ -22,8 +22,8 @@ export default class Tab {
|
|
|
|
* @param {object} options destructuring object
|
|
|
|
* @param {object} options destructuring object
|
|
|
|
* @param {string} options.id the unique id of this tab
|
|
|
|
* @param {string} options.id the unique id of this tab
|
|
|
|
* @param {string} options.name the translated tab name
|
|
|
|
* @param {string} options.name the translated tab name
|
|
|
|
* @param {?string} options.icon the icon css class
|
|
|
|
* @param {string} [options.icon] the icon css class
|
|
|
|
* @param {?string} options.iconSvg the icon in svg format
|
|
|
|
* @param {string} [options.iconSvg] the icon in svg format
|
|
|
|
* @param {Function} options.mount function to mount the tab
|
|
|
|
* @param {Function} options.mount function to mount the tab
|
|
|
|
* @param {Function} [options.setIsActive] function to forward the active state of the tab
|
|
|
|
* @param {Function} [options.setIsActive] function to forward the active state of the tab
|
|
|
|
* @param {Function} options.update function to update the tab
|
|
|
|
* @param {Function} options.update function to update the tab
|
|
|
|
|