change shading val -> type
This commit is contained in:
@ -156,7 +156,7 @@ Add color to an entire paragraph block
|
||||
const paragraph = new Paragraph({
|
||||
text: "shading",
|
||||
shading: {
|
||||
val: ShadingType.REVERSE_DIAGONAL_STRIPE,
|
||||
type: ShadingType.REVERSE_DIAGONAL_STRIPE,
|
||||
color: "00FFFF",
|
||||
fill: "FF0000",
|
||||
},
|
||||
|
@ -83,7 +83,7 @@ const text = new TextRun({
|
||||
const text = new TextRun({
|
||||
text: "shading",
|
||||
shading: {
|
||||
val: ShadingType.REVERSE_DIAGONAL_STRIPE,
|
||||
type: ShadingType.REVERSE_DIAGONAL_STRIPE,
|
||||
color: "00FFFF",
|
||||
fill: "FF0000",
|
||||
},
|
||||
|
Reference in New Issue
Block a user