@@ -29,6 +29,8 @@ export default function TopBar({
2929 currentProjectKey,
3030 currentUser,
3131 enabledLibraries,
32+ hasInstructions,
33+ isEditingInstructions,
3234 isExperimental,
3335 isGistExportInProgress,
3436 isRepoExportInProgress,
@@ -49,6 +51,7 @@ export default function TopBar({
4951 onExportRepo,
5052 onExportToClassroom,
5153 onLogOut,
54+ onStartEditingInstructions,
5255 onStartLogIn,
5356 onToggleLibrary,
5457 onToggleTextSize,
@@ -92,7 +95,9 @@ export default function TopBar({
9295 onStartLogIn = { onStartLogIn }
9396 />
9497 < HamburgerMenu
98+ hasInstructions = { hasInstructions }
9599 isClassroomExportInProgress = { isClassroomExportInProgress }
100+ isEditingInstructions = { isEditingInstructions }
96101 isExperimental = { isExperimental }
97102 isGistExportInProgress = { isGistExportInProgress }
98103 isOpen = { openMenu === 'hamburger' }
@@ -102,6 +107,7 @@ export default function TopBar({
102107 onExportGist = { onExportGist }
103108 onExportRepo = { onExportRepo }
104109 onExportToClassroom = { onExportToClassroom }
110+ onStartEditingInstructions = { onStartEditingInstructions }
105111 />
106112 </ header >
107113 ) ;
@@ -111,7 +117,9 @@ TopBar.propTypes = {
111117 currentProjectKey : PropTypes . string ,
112118 currentUser : PropTypes . object . isRequired ,
113119 enabledLibraries : PropTypes . arrayOf ( PropTypes . string ) . isRequired ,
120+ hasInstructions : PropTypes . bool . isRequired ,
114121 isClassroomExportInProgress : PropTypes . bool . isRequired ,
122+ isEditingInstructions : PropTypes . bool . isRequired ,
115123 isExperimental : PropTypes . bool . isRequired ,
116124 isGistExportInProgress : PropTypes . bool . isRequired ,
117125 isRepoExportInProgress : PropTypes . bool . isRequired ,
@@ -131,6 +139,7 @@ TopBar.propTypes = {
131139 onExportRepo : PropTypes . func . isRequired ,
132140 onExportToClassroom : PropTypes . func . isRequired ,
133141 onLogOut : PropTypes . func . isRequired ,
142+ onStartEditingInstructions : PropTypes . func . isRequired ,
134143 onStartLogIn : PropTypes . func . isRequired ,
135144 onToggleLibrary : PropTypes . func . isRequired ,
136145 onToggleTextSize : PropTypes . func . isRequired ,
0 commit comments