Skip to content

Commit

Permalink
chore: update example of basic table
Browse files Browse the repository at this point in the history
  • Loading branch information
BayBreezy committed Nov 25, 2024
1 parent 2527447 commit 3f2d91a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/app/components/content/Examples/BasicExample.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
...Array.from({ length: 20 }, (v, k) => [
k + 1,
faker.person.fullName(),
// eslint-disable-next-line
faker.helpers.fromRegExp(/[0-9]{3}-[0-9]{3}-[0-9]{4}/),
faker.internet.email()?.toLowerCase(),
]),
Expand All @@ -44,7 +45,7 @@
},
{
custom: {
fillColor: function (rowIndex) {
fillColor: function (rowIndex: number) {
return rowIndex % 2 !== 0 ? _colors.slate[50] : null;
},
hLineColor: _colors.slate[200],
Expand All @@ -60,7 +61,7 @@
},
}
)
.getDataUrl((dataUrl) => {
.getDataUrl((dataUrl: any) => {
pdfLink.value = dataUrl;
});
};
Expand Down

0 comments on commit 3f2d91a

Please sign in to comment.