2021-08-09 05:25:20 +08:00
|
|
|
#ifndef FTXUI_COMPONENT_DEPRECATED_HPP
|
|
|
|
#define FTXUI_COMPONENT_DEPRECATED_HPP
|
|
|
|
|
|
|
|
#include "ftxui/component/component.hpp"
|
|
|
|
|
|
|
|
namespace ftxui {
|
|
|
|
|
2022-03-12 22:18:36 +08:00
|
|
|
[[deprecated("use Input with normal std::string instead.")]] Component Input(
|
|
|
|
WideStringRef content,
|
|
|
|
ConstStringRef placeholder,
|
|
|
|
Ref<InputOption> option = {});
|
2021-08-09 05:25:20 +08:00
|
|
|
} // namespace ftxui
|
|
|
|
|
|
|
|
#endif /* FTXUI_COMPONENT_DEPRECATED_HPP */
|
|
|
|
|
|
|
|
// Copyright 2021 Arthur Sonzogni. All rights reserved.
|
|
|
|
// Use of this source code is governed by the MIT license that can be found in
|
|
|
|
// the LICENSE file.
|