Created
January 20, 2019 11:56
-
-
Save DmitryMarkov/974d1d6855bdb8fcd56510a07adf7596 to your computer and use it in GitHub Desktop.
Folders example
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
const folders = [{ | |
id: 1, | |
name: 'JavaScript', | |
children: [{ | |
id: 2, | |
name: 'Frameworks', | |
children: [{ | |
id: 3, | |
name: 'Angular' | |
}, { | |
id: 4, | |
name: 'Vue' | |
}] | |
}, { | |
id: 5, | |
name: 'Libraries', | |
children: [{ | |
id: 6, | |
name: 'React' | |
}] | |
}] | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment