Last active
July 13, 2017 07:46
-
-
Save ypcode/a1ec9f01d147a1adba258d8f8cf10dab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class KanbanBoardWebPart extends BaseClientSideWebPart<IKanbanBoardWebPartProps> { | |
// .... | |
private statuses: string[] = ["Not Started", "In Progress", "Completed"]; | |
private tasks: ITask[] = [ | |
{ | |
Id: 1, | |
Status: "Not Started", | |
Title: "Task 01" | |
}, | |
{ | |
Id: 2, | |
Status: "Not Started", | |
Title: "Task 02" | |
}, | |
{ | |
Id: 3, | |
Status: "In Progress", | |
Title: "Task 03" | |
}, | |
{ | |
Id: 4, | |
Status: "In Progress", | |
Title: "Task 04" | |
}, | |
{ | |
Id: 5, | |
Status: "Completed", | |
Title: "Task 05" | |
}, | |
{ | |
Id: 6, | |
Status: "Completed", | |
Title: "Task 06" | |
} | |
]; | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment