MainViewTitle component. This component is responsible for displaying the title of the main view. It uses the role prop to determine the user's role and displays it in the title. The title is styled with various Tailwind CSS classes.

  • Parameters

    • props: MainViewTitleProps

      The props that define the user's role.

    Returns ReactNode | Promise<ReactNode>

    The rendered MainViewTitle component.