Adding lists support in text component (#17065)

* Adding lists support in text component

* Fixing get textType

* Code cleanup

* Combining values into value
This commit is contained in:
Aasim Khan
2021-09-14 12:43:14 -07:00
committed by GitHub
parent 32e6a24115
commit 95e82d53e6
10 changed files with 79 additions and 37 deletions

View File

@@ -585,7 +585,9 @@ declare module 'azdata' {
*/
export enum TextType {
Normal = 'Normal',
Error = 'Error'
Error = 'Error',
UnorderedList = 'UnorderedList',
OrderedList = 'OrderedList'
}
export interface TextComponentProperties {
@@ -595,7 +597,7 @@ declare module 'azdata' {
*/
headingLevel?: HeadingLevel;
/**
* The type to display the text as - used to determine the color of the text. Default is Normal.
* Sets the type of text box to be displayed
*/
textType?: TextType;
}