import { observer } from 'mobx-react-lite' import Bubble from '@/Components/Bubble/Bubble' import { useCallback } from 'react' import { SearchOptionsController } from '@/Controllers/SearchOptionsController' type Props = { searchOptions: SearchOptionsController } const SearchOptions = ({ searchOptions }: Props) => { const { includeProtectedContents, includeArchived, includeTrashed } = searchOptions const toggleIncludeProtectedContents = useCallback(async () => { await searchOptions.toggleIncludeProtectedContents() }, [searchOptions]) return (
e.preventDefault()}>
) } export default observer(SearchOptions)