#pragma once #include #include #include "ftxui/component/component.hpp" #include "sharing/linux/tui/file_picker.h" namespace nearby::sharing::linux_tui { using namespace ftxui; struct FilePickerCardOptions { FilePicker* file_picker = nullptr; std::function on_file_selected; }; Component FilePickerCard(FilePickerCardOptions options); } // namespace nearby::sharing::linux_tui