import { useLoadSnapshotRepositories } from '../../../../../../services/api' ; interface Props { children : ( arg : ReturnType < typeof useLoadSnapshotRepositories > ) => JSX . Element ; } export const SearchableSnapshotDataProvider = ( { children } ) => { return children ( useLoadSnapshotRepositories ( ) ) ; } ;