TOC 테마 컴포넌트에 버튼 추가

if you mean hide the TOC, you can already do this by clicking on the timeline button on the lower right.

Then you will get the usual timeline with a “Contents” button that will allow you to re-enable the table of contents.