33 class Impl :
public ComponentBase {
37 opt.transform = [](EntryState s) {
38 auto prefix = text(s.state ?
"▼ " :
"▶ ");
39 auto t = text(s.label);
46 return hbox({prefix, t});
48 Add(Container::Vertical({
49 Checkbox(std::move(label), show_.operator->(), opt),
50 Maybe(std::move(child), show_.operator->()),