You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/web/app/components/plugins/marketplace/search-box/wrapper.tsx

15 lines
313 B
TypeScript

'use client'
import SearchBox from '.'
import { usePluginPageContext } from '@/app/components/plugins/plugin-page/context'
const Wrapper = () => {
const scrollDisabled = usePluginPageContext(v => v.scrollDisabled)
return (
<SearchBox widthShouldChange={scrollDisabled} />
)
}
export default Wrapper