Skip to content

refactor: extract reusable export menu item - #1155

Open
Hars465465 wants to merge 1 commit into
THU-MAIC:mainfrom
Hars465465:refactor/export-menu-item
Open

refactor: extract reusable export menu item#1155
Hars465465 wants to merge 1 commit into
THU-MAIC:mainfrom
Hars465465:refactor/export-menu-item

Conversation

@Hars465465

Copy link
Copy Markdown

Summary

  • extract the repeated export menu button markup into a reusable ExportMenuItem component
  • preserve the existing PPTX, Resource Pack, Classroom ZIP, and Video export behavior
  • keep the existing video separator and Classroom ZIP disabled state

Closes #1141

Validation

  • pnpm lint
  • pnpm exec prettier components/stage/header-controls.tsx --check
  • git diff --check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants