registerLicense()

Registers the yFiles license which is needed to use the yFiles React component.

function App() {
  registerLicense(yFilesLicense)

  return (
    <OrgChart data={data}></OrgChart>
  )
}

Parameters

NameDescriptionType
licenseKey
The license key to register
Record<string, unknown>