Skip to content

Submenu feature #16

@dathoang1412

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).

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