mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-08 17:24:01 -05:00
withProperties -> withProps (#15876)
* withProperties -> withProps * Fix errors * remove , * fixes * Update azdata-test * Fix dacpac tests * Add required and remove added layout
This commit is contained in:
@@ -39,10 +39,10 @@ export class DataInfoComponent extends ViewBase {
|
||||
}
|
||||
|
||||
public registerComponent(modelBuilder: azdata.ModelBuilder): azdata.Component {
|
||||
this._descriptionComponent = modelBuilder.text().withProperties({
|
||||
this._descriptionComponent = modelBuilder.text().withProps({
|
||||
value: this._description,
|
||||
}).component();
|
||||
this._labelComponent = modelBuilder.text().withProperties({
|
||||
this._labelComponent = modelBuilder.text().withProps({
|
||||
value: this._title,
|
||||
}).component();
|
||||
this._labelContainer = modelBuilder.flexContainer().withLayout({
|
||||
@@ -64,7 +64,7 @@ export class DataInfoComponent extends ViewBase {
|
||||
};
|
||||
}
|
||||
|
||||
this._iconComponent = modelBuilder.image().withProperties({
|
||||
this._iconComponent = modelBuilder.image().withProps({
|
||||
width: this._iconSettings?.containerWidth ?? this._defaultIconSize,
|
||||
height: this._iconSettings?.containerHeight ?? this._defaultIconSize,
|
||||
iconWidth: this._iconSettings?.width ?? this._defaultIconSize,
|
||||
@@ -97,7 +97,7 @@ export class DataInfoComponent extends ViewBase {
|
||||
|
||||
this._loadingComponent = modelBuilder.loadingComponent().withItem(
|
||||
this._labelContainer
|
||||
).withProperties({
|
||||
).withProps({
|
||||
loading: false
|
||||
}).component();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user