Skip to main content

Custom Dashboard

By default, Tushan provides a default dashboard component for display.

You have the option to use a custom dashboard or disable the dashboard feature altogether.

Using a Custom Dashboard

<Tushan dashboard={<MyDashboard />}>

The dashboard component is fully customizable. You can write it just like any regular component and implement your own dashboard display within it.

The default dashboard code for Tushan is available here:

Alternatively, you can also refer to the custom dashboard implementation in Tailchat:

Disabling the Dashboard Feature

If you do not like or need the dashboard, you can opt to disable this feature.

<Tushan dashboard={false}>