You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current ChatbotHeader component takes in props to render the layout. But if we want the component to be flexible for the users, we need to split the component into a more composable API where users can decide which part of the header to and how to control it.
Possible APIs
The header can be divided into three parts, the left side can have the menu, middle part can have branding or title and the right part could have a dropdown for model selector and kebab menu with actions. The components could be created in a way that users should be able to customise the dropdown items and kebab menu actions but they should not be able to change what to render completely.
ChatbotHeader
ChatbotHeaderMenu
ChatbotHeaderTitle
ChatbotHeaderDropdown
ChatbotHeaderActions
The text was updated successfully, but these errors were encountered:
Description
The current ChatbotHeader component takes in props to render the layout. But if we want the component to be flexible for the users, we need to split the component into a more composable API where users can decide which part of the header to and how to control it.
Possible APIs
The header can be divided into three parts, the left side can have the menu, middle part can have branding or title and the right part could have a dropdown for model selector and kebab menu with actions. The components could be created in a way that users should be able to customise the dropdown items and kebab menu actions but they should not be able to change what to render completely.
ChatbotHeader
ChatbotHeaderMenu
ChatbotHeaderTitle
ChatbotHeaderDropdown
ChatbotHeaderActions
The text was updated successfully, but these errors were encountered: