diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..4262cf36 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +node_modules +dist +dist/bundle.js.map +dist/bundle.js +package-lock.json +dist/bundle.js.map +dist/bundle.js +npm-debug.log diff --git a/index.html b/index.html new file mode 100644 index 00000000..91e377ab --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + +
+ +| # | +{ + event.stopPropagation(); + this.setState({ sort: { column: 'title', order: this.state.sort?.order ? this.state.sort.order === 'asc' ? 'desc' : 'asc' : 'asc' } }) + }}>Summary | +{ + event.stopPropagation(); + this.setState({ sort: { column: 'priority', order: this.state.sort?.order ? this.state.sort.order === 'asc' ? 'desc' : 'asc' : 'asc' } }) + }}>Priority | +{ + event.stopPropagation(); + this.setState({ sort: { column: 'createdAt', order: this.state.sort?.order ? this.state.sort.order === 'asc' ? 'desc' : 'asc' : 'asc' } }) + }}>Created On | +{ + event.stopPropagation(); + this.setState({ sort: { column: 'dueDate', order: this.state.sort?.order ? this.state.sort.order === 'asc' ? 'desc' : 'asc' : 'asc' } }) + }}>Due Date | +Actions | +
|---|---|---|---|---|---|
| {
+ event.stopPropagation();
+ }}>
+ |
+ {row.title} | +{Priority.find(x => x.value === row.priority)?.label} | +{row.createdAt} | +{row.dueDate} | +
+
+ |
+