Headless UI should provide a CloseButton component and a useClose hook to simplify closing closable…
Headless UI should provide a CloseButton component and a useClose hook to simplify closing closable…: a task in LegoFlow-SWE (Harbor dataset). Currently, users must manually manage closing logic by passing handlers or lifting state, which leads to repetitive boilerplate.
The task
Currently, users must manually manage closing logic by passing handlers or lifting state, which leads to repetitive boilerplate.
Part of Lego-X/LegoFlow-SWE.