diff --git a/packages/core/README.md b/packages/core/README.md index ac8ced92..4d96f9d2 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -451,17 +451,17 @@ For example ```typescript const tableData = [ - {data: 'Header1', header: true}, - {data: 'Header2', header: true}, - {data: 'Header3', header: true}, - {data: 'MyData1'}, - {data: 'MyData2'}, - {data: 'MyData3'} + [ + {data: 'Header1', header: true}, + {data: 'Header2', header: true}, + {data: 'Header3', header: true} + ], + ['MyData1', 'MyData2', 'MyData3'] ] // Add an HTML table -core.summary.addTable([tableData]) -// Output:
Header1Header2Header3
MyData1MyData2MyData3
+core.summary.addTable(tableData) +// Output:
Header1Header2Header3
MyData1MyData2MyData3
```