How to access a js function with a default function parameter

i’m trying to use react-admin from kotlinjs

I can’t find the right syntax to translate in kotlin, this simple page:

import * as React from "react";
import { Admin } from 'react-admin';
import jsonServerProvider from 'ra-data-json-server';

const dataProvider = jsonServerProvider('');

const App = () => <Admin dataProvider={dataProvider} />;

export default App;

In particular the function jsonServerProvider has a default parameter (an http client) defined in another js package (ra-core):

What is the correct way to translate this assignment in kotlin ?

const dataProvider = jsonServerProvider(‘’);

//export default (apiUrl, httpClient = fetchUtils.fetchJson): DataProvider => ({

//export const fetchJson = (url, options: Options = {}) => {