NebulaConnection

Usage

Handles connection to nebula and configuration of the object types. This is component provides context to all NebulaContainer and NebulaSelections components in your app.

// 1. Import the Motor component
import { Motor } from @motor-js/engine
import { NebulaConnection } from @motor-js/nebula 

function App() {

	return (
		// 2. Use at the root of your project
		<Motor
		  config={
		    host: "myqliksite.qlik.com",
		    secure: true,
		    port: 433,
		    prefix: "",
		    appId: 'myAwesomeApp',
		  }
		>
			<NebulaConnection>
				<App />
			</NebulaConnection>
		</Motor>
	)
}

Props

There are no props you can pass into this component

Last updated