Commit 27207ec 1 parent f52b17d commit 27207ec Copy full SHA for 27207ec
File tree 2 files changed +10
-8
lines changed
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -84,12 +84,13 @@ export interface ItemLayout {
84
84
* The font family to use for the stream content.
85
85
* Example: 'Verdana' or 'Courier New'.
86
86
*/
87
- textFont : string ;
87
+ fontFamily : string ;
88
88
/**
89
- * The font size to use for the stream content, in pixels.
90
- * Example: 12.
89
+ * The font size to use for the stream content.
90
+ * Using a number without unit may not yield desired results.
91
+ * Example: '12px' (recommended) vs. '12' (not recommended).
91
92
*/
92
- textSize : number ;
93
+ fontSize : string ;
93
94
/**
94
95
* The color of the text in the stream content.
95
96
* Can be color names (e.g. 'blue') or hex codes ('#00FF00').
Original file line number Diff line number Diff line change @@ -96,12 +96,13 @@ declare module 'common/layout/types' {
96
96
* The font family to use for the stream content.
97
97
* Example: 'Verdana' or 'Courier New'.
98
98
*/
99
- textFont : string ;
99
+ fontFamily : string ;
100
100
/**
101
- * The font size to use for the stream content, in pixels.
102
- * Example: 12.
101
+ * The font size to use for the stream content.
102
+ * Using a number without unit may not yield desired results.
103
+ * Example: '12px' (recommended) vs. '12' (not recommended).
103
104
*/
104
- textSize : number ;
105
+ fontSize : string ;
105
106
/**
106
107
* The color of the text in the stream content.
107
108
* Can be color names (e.g. 'blue') or hex codes ('#00FF00').
You can’t perform that action at this time.
0 commit comments