button/tab: missing dynamic flag for label prop

This commit is contained in:
bordun 2020-05-11 16:04:55 +02:00
parent 224ff20f10
commit 66fb046929
2 changed files with 9 additions and 2 deletions

View file

@ -223,7 +223,8 @@ Button.cssVariables = Button.prototype.constructor.cssVariables.concat(
Button.dynamicProps = Button.prototype.constructor.dynamicProps.concat(
'on',
'off',
'norelease'
'norelease',
'label'
)
module.exports = Button

View file

@ -3,7 +3,7 @@ var Panel = require('./panel'),
resize = require('../../events/resize'),
{iconify} = require('../../ui/utils')
module.exports = class Tab extends Panel {
class Tab extends Panel {
static description() {
@ -130,3 +130,9 @@ module.exports = class Tab extends Panel {
}
}
Tab.dynamicProps = Tab.prototype.constructor.dynamicProps.concat(
'label'
)
module.exports = Tab