(props)
| 18 | import typographyStyles from '@adobe/spectrum-css-temp/components/typography/vars.css'; |
| 19 | |
| 20 | export function ToC(props) { |
| 21 | let {toc} = props; |
| 22 | |
| 23 | return ( |
| 24 | <nav className={styles['toc']} id="toc" aria-labelledby="toc-heading"> |
| 25 | <div className={styles['tocContainer']}> |
| 26 | <h3 |
| 27 | aria-label="Table of contents" |
| 28 | id="toc-heading" |
| 29 | className={typographyStyles['spectrum-Heading4']}> |
| 30 | Contents |
| 31 | </h3> |
| 32 | <SideNav node={toc} /> |
| 33 | </div> |
| 34 | </nav> |
| 35 | ); |
| 36 | } |
| 37 | |
| 38 | function SideNav(props) { |
| 39 | let {node} = props; |
nothing calls this directly
no outgoing calls
no test coverage detected