import React from 'react'; import { usePoweredBy } from 'react-instantsearch-hooks'; import { PoweredBy as PoweredByUiComponent } from '../ui/PoweredBy'; import type { PoweredByProps as PoweredByUiComponentProps } from '../ui/PoweredBy'; type UiProps = Pick; export type PoweredByProps = Omit; export function PoweredBy(props: PoweredByProps) { const { url } = usePoweredBy(); const uiProps: UiProps = { url, }; return ; }