search by text content functionality
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user