1
Fork 0
tildes-reextended/source/options/components/autocomplete.tsx

18 lines
636 B
TypeScript
Raw Normal View History

2023-06-23 10:52:03 +00:00
import {type JSX} from "preact";
import {Setting, type SettingProps} from "./index.js";
export function AutocompleteSetting(props: SettingProps): JSX.Element {
return (
<Setting {...props}>
<p class="info">
Adds autocompletion in textareas for user mentions (starting with{" "}
<code>@</code>) and groups (starting with <code>~</code>).
<br />
When an autocompletion list is shown you can press <code>Tab</code> to
move down the list and <code>Shift+Tab</code> to move up the list. To
fill in your highlighted match press <code>Enter</code>.
2023-06-23 10:52:03 +00:00
</p>
</Setting>
);
}