Skip to content

Instantly share code, notes, and snippets.

@satansdeer
Created February 4, 2020 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satansdeer/e39b9b47f0ea5ad820f51bf228ead2b0 to your computer and use it in GitHub Desktop.
Save satansdeer/e39b9b47f0ea5ad820f51bf228ead2b0 to your computer and use it in GitHub Desktop.
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