An example from the core:
How can the parameters be accessed by the component? Let’s look at its code:
As you can see, the component is an AMD module.
The module returns a function and the parameters are passed to the function like an object (named config in this case).