Repos
C++
501 B15 lines Opens in site
Directory
Raw
Download
#pragma once
// Spec: INV-posts 3.4, 5.2. Icon-only plain button of the footer action rows (Label with .iconOnly): the label text is
// the accessibility label, the color FG_1 unless given.
#include <functional>
#include <optional>
#include <string>
#include "ui/Views.hpp"
namespace dp {
ui::ViewPtr ActionIconButton(const std::string& symbol, const std::string& label, std::function<void()> action,
std::optional<ui::Color> color = std::nullopt);
} // namespace dp