Bläddra i källkod

Docs: Fixed broken code snippet in the UI architecture guide.

Aleksander Nowodzinski 7 år sedan
förälder
incheckning
b2a033db52
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      docs/framework/guides/architecture/ui-library.md

+ 2 - 2
docs/framework/guides/architecture/ui-library.md

@@ -388,7 +388,7 @@ const items = new Collection();
 items.add( {
 	type: 'button',
 	model: new Model( {
-		withText: 'true',
+		withText: true,
 		label: 'Foo'
 	} )
 } );
@@ -396,7 +396,7 @@ items.add( {
 items.add( {
 	type: 'button',
 	model: new Model( {
-		withText: 'true',
+		withText: true,
 		label: 'Bar'
 	} )
 } );