feat(rss-feed): add configurable description max length (#7051)
Co-authored-by: ajnart <thomas@ajnart.dev>
This commit is contained in:
1 parent
a7fac57d62
commit
68238fa69b
6 files changed
+21
-1
No files matched your search
@@ -47,6 +47,8 @@ export default function RssFeed({ options, width, height, displayMode }: WidgetC
|
||||
const feed = useLiveFeed({
|
||||
urls: options.feedUrls,
|
||||
maximumAmountPosts: typeof options.maximumAmountPosts === "number" ? options.maximumAmountPosts : 100,
|
||||
descriptionMaxLength:
|
||||
typeof options.descriptionMaxLength === "number" ? options.descriptionMaxLength : 250,
|
||||
});
|
||||
|
||||
const board = useRequiredBoard();
|
||||
|
||||
Reference in new issue
Block a user