1
0
mirror of synced 2025-12-21 10:57:10 -05:00

minimize content in miniToc prop (#28522)

* make miniToc pure data and no html strings

* fixups

* minimize content in miniToc prop

* minimize content in miniToc prop

* some types refactoring

* fix tests
This commit is contained in:
Peter Bengtsson
2022-06-15 17:04:54 -04:00
committed by GitHub
parent 8f83f60766
commit 2f37efd633
3 changed files with 16 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ export type LearningTrack = {
}
export type MiniTocItem = {
platform: string
platform?: string
contents: {
href: string
title: string