-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Current behavior
HeaderOption supports only one button per side (leftAction, rightAction).
type HeaderOption = {
leftAction?: { icon: HeaderIcon; onClick: () => void };
rightAction?: { icon: HeaderIcon; onClick: () => void };
};This is sufficient for simple headers, but it limits flexibility when multiple contextual or custom actions are needed on one side of the header.
Proposed change
Allow arrays instead:
type HeaderOption = {
leftActions?: { icon: HeaderIcon; onClick: () => void }[];
rightActions?: { icon: HeaderIcon; onClick: () => void }[];
};This change would make it possible to create more complex and flexible header configurations without the need for hacks or additional wrapper components.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request