Helper function to add components to the dashboard

.add_component(dashboard, page, component)

Arguments

dashboard

A i2dashboard.

page

The name of the page to add the component to.

component

A string or list.

Value

The dashboard with added component.