Closed Pooya-Oladazimi closed 1 day ago
This is the DescriptionPresentation component. It is not a widget. It's purpose is to render the text for the DescriptionWidget. The DescriptionPresentation is used in the MetadataWidget to avoid multiple requests.
The DescriptionWidget does exactly as you described, see https://github.com/ts4nfdi/terminology-service-suite/blob/main/src/components/widgets/MetadataWidget/DescriptionWidget/DescriptionWidget.tsx#L23
@jusa3 aha thanks. I got confused.
The description widget at the moment is just accept an input text and renders it:
@jusa3 @VincentKneip what do you think?