search by text content functionality

This commit is contained in:
daniel31x13
2023-11-01 06:01:26 -04:00
parent b1c6a3faf1
commit b1b0d98eb2
9 changed files with 37 additions and 0 deletions
+11
View File
@@ -9,6 +9,7 @@ type Props = {
name: boolean;
url: boolean;
description: boolean;
textContent: boolean;
tags: boolean;
};
};
@@ -54,6 +55,16 @@ export default function FilterSearchDropdown({
})
}
/>
<Checkbox
label="Text Content"
state={searchFilter.textContent}
onClick={() =>
setSearchFilter({
...searchFilter,
textContent: !searchFilter.textContent,
})
}
/>
<Checkbox
label="Tags"
state={searchFilter.tags}