feat: RTL option to RSS widget (#1247)

This commit is contained in:
Yossi Hillali
2024-10-21 13:19:34 +03:00
committed by GitHub
parent 564096e463
commit 9a7e845010
5 changed files with 12 additions and 2 deletions

View File

@@ -18,6 +18,9 @@ export const { definition, componentLoader } = createWidgetDefinition("rssFeed",
defaultValue: [],
validate: z.string().url(),
}),
enableRtl: factory.switch({
defaultValue: false,
}),
textLinesClamp: factory.number({
defaultValue: 5,
validate: z.number().min(1).max(50),