Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
refactor(desktop): add optional id prop to SettingItem
Richie McIlroy3f79ad7facc7
diff --git a/apps/desktop/src/routes/(window-chrome)/settings/Setting.tsx b/apps/desktop/src/routes/(window-chrome)/settings/Setting.tsxindex 3978348cd..f9cb97d2a 100644--- a/apps/desktop/src/routes/(window-chrome)/settings/Setting.tsx+++ b/apps/desktop/src/routes/(window-chrome)/settings/Setting.tsx@@ -71,13 +71,17 @@ export function SectionRows(props: ParentProps) {}export function SettingItem(props: {+ id?: string;pro?: boolean;label: string;description?: string;children: JSX.Element;}) {return (- <div class="cap-setting-row flex flex-row gap-4 justify-between items-center px-4 py-3.5">+ <div+ id={props.id}+ class="cap-setting-row flex flex-row gap-4 justify-between items-center px-4 py-3.5"+ ><div class="flex flex-col flex-1 min-w-0 gap-0.5"><p class="text-[13px] text-gray-12">{props.label}</p><Show when={props.description}>