Created
February 4, 2020 21:42
-
-
Save satansdeer/e39b9b47f0ea5ad820f51bf228ead2b0 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
interface ICard { | |
id: string | |
text: string | |
} | |
interface IColumn { | |
id: string | |
text: string | |
cards: ICard[] | |
} | |
interface IAppState { | |
columns: IColumn[] | |
} | |
const appData: IAppState = { | |
columns: [ | |
{ id: "0", text: "To Do", cards: [] }, | |
{ id: "1", text: "In Progress", cards: [] }, | |
{ id: "2", text: "Done", cards: [] } | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment