Interface: CategoryDescriptionProps
Defined in: components/CategoryDescription.tsx:15
Properties
category?
optionalcategory?:Category
Defined in: components/CategoryDescription.tsx:31
Propeller Category object.
The component reads category.description (an array of LocalizedString)
and renders the matching language entry as HTML.
className?
optionalclassName?:string
Defined in: components/CategoryDescription.tsx:47
Extra CSS class applied to the root element.
collapsed?
optionalcollapsed?:boolean
Defined in: components/CategoryDescription.tsx:37
When true (default), the description is truncated to maxLength
characters and a "Read more" / "Read less" toggle is shown.
labels?
optionallabels?:Record<string,string>
Defined in: components/CategoryDescription.tsx:50
Translated labels: readMore, readLess.
language
language:
string
Defined in: components/CategoryDescription.tsx:22
Language code used to resolve the correct localised description
from category.description.
maxLength?
optionalmaxLength?:number
Defined in: components/CategoryDescription.tsx:44
Maximum number of characters to display before truncating.
Only applies when collapsed is true.
Defaults to 200.