|
|
return new Icon( model, new IconView() );
|
|
return new Icon( model, new IconView() );
|
|
|
-function button( { label = 'Button', noText = false, isEnabled = true, isOn = false, icon, iconAlign } = {} ) {
|
|
|
|
|
const model = new Model( { label, noText, isEnabled, isOn, icon, iconAlign } );
|
|
const model = new Model( { label, noText, isEnabled, isOn, icon, iconAlign } );
|
|
|
return new Button( model, new ButtonView() );
|
|
return new Button( model, new ButtonView() );
|