import * as React from 'react'; import { Flex, Button } from '@radix-ui/themes'; // eslint-disable-next-line @nx/enforce-module-boundaries import styles from '../../../styles/src/side-panel.module.css'; interface Props { showChat: boolean; onToggleChat: () => void; onOpenPermissions: () => void; onStartConversation?: () => void; startDisabled?: boolean; onEndConversation?: () => void; endDisabled?: boolean; className?: string; } export function HeaderBar({ showChat, onToggleChat, onOpenPermissions, onStartConversation, startDisabled, onEndConversation, endDisabled, className }: Props): React.JSX.Element { return ( {onStartConversation && ( )} {onEndConversation && ( )} ); }