Skip to content

Instantly share code, notes, and snippets.

@satansdeer
Created Feb 4, 2020
Embed
What would you like to do?
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