From abca112b280df88ff5b5d7d7da8009fbb8322451 Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:21:21 +0300 Subject: [PATCH] Update LinkTopic.tsx --- rsconcept/frontend/src/components/ui/LinkTopic.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rsconcept/frontend/src/components/ui/LinkTopic.tsx b/rsconcept/frontend/src/components/ui/LinkTopic.tsx index bb2c3195..7b044dd9 100644 --- a/rsconcept/frontend/src/components/ui/LinkTopic.tsx +++ b/rsconcept/frontend/src/components/ui/LinkTopic.tsx @@ -4,10 +4,15 @@ import { HelpTopic } from '@/models/miscellaneous'; import TextURL from './TextURL'; interface TextURLProps { + /** Text to display. */ text: string; + /** Topic to link to. */ topic: HelpTopic; } +/** + * Displays a link to a help topic. + */ function LinkTopic({ text, topic }: TextURLProps) { return ; }