Interface: CategoryDescriptionProps
Defined in: components/CategoryDescription.tsx:13
Properties
category?
optionalcategory?:Category
Defined in: components/CategoryDescription.tsx:29
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:45
Extra CSS class applied to the root element.
collapsed?
optionalcollapsed?:boolean
Defined in: components/CategoryDescription.tsx:35
When true (default), the description is truncated to maxLength
characters and a "Read more" / "Read less" toggle is shown.
language
language:
string
Defined in: components/CategoryDescription.tsx:20
Language code used to resolve the correct localised description
from category.description.
maxLength?
optionalmaxLength?:number
Defined in: components/CategoryDescription.tsx:42
Maximum number of characters to display before truncating.
Only applies when collapsed is true.
Defaults to 200.