Skip to content

Submenu feature #16

Open
Open

Description

@dathoang1412

Currently, the Submenu component manages its own open/close state internally with useState. This makes it impossible to programmatically open or close the submenu from a parent component.

Expected Change: Allow Submenu open state to be controlled externally via props (open, onToggle).

Activity

  1. dathoang1412 commented on Oct 3, 2025

    @dathoang1412
    Author

    or we only need to add a defaultOpen property, tysm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions