1
Fork 0
tildes-reextended/source/options/components/jump-to-new-comment.tsx

14 lines
404 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 JumpToNewCommentSetting(props: SettingProps): JSX.Element {
return (
<Setting {...props}>
<p class="info">
Adds a hovering button to the bottom-right of pages with new comments
that, when clicked, will scroll you to the next new comment.
</p>
</Setting>
);
}