Resource Deployment UX Refresh (#12173)

* adding new card to styles

* renamed property, removed unnecessary css

* Fixed to match new props

* added horizontal class

* merged from master
This commit is contained in:
Aasim Khan
2020-09-11 11:13:59 -07:00
committed by GitHub
parent 6929a803dc
commit a823e44393
5 changed files with 90 additions and 23 deletions

View File

@@ -119,6 +119,18 @@ export default class RadioCardGroup extends ComponentBase<azdata.RadioCardGroupC
return this.getProperties().selectedCardId ?? undefined;
}
public get iconPosition(): string {
return this.getProperties().iconPosition ?? 'top';
}
public isIconPositionTop(): boolean {
return this.iconPosition === 'top';
}
public isIconPositionLeft(): boolean {
return this.iconPosition === 'left';
}
public get orientation(): string {
const x = this.getProperties().orientation ?? 'horizontal';
return x;