AdaptiveOpenSourceLicensePane

fun AdaptiveOpenSourceLicensePane(isSinglePane: Boolean, dependency: String, license: String, onUpClick: () -> Unit, onUrlClick: (String) -> Unit, onUrlsFound: (List<String>) -> Unit)(source)

Display the opensource license of a dependency

Parameters

isSinglePane

if only a single pane is visible

dependency

the dependency

license

the opensource license text

onUpClick

lambda to execute on click on the navigate up button

onUrlClick

lambda to execute on click on a url

onUrlsFound

lambda to execute when all urls in the license have been found