* feat: UX tweaks for Modal * Prepare new conversation screen to accept suggested questions * Add conversation history screen * Reset basic askai config * Reset askai api url * Document new translations * Remove unused CSS * Add translation for stopped streaming text * Add rest of translations * Bump allowed bundle size * Bump allowed bundle size
11 lines
327 B
TypeScript
11 lines
327 B
TypeScript
import React from 'react';
|
|
import type { JSX } from 'react';
|
|
|
|
type ModalHeadingProps = {
|
|
heading: string;
|
|
shimmer?: boolean;
|
|
};
|
|
|
|
export function ModalHeading({ heading, shimmer = false }: ModalHeadingProps): JSX.Element {
|
|
return <span className={`DocSearch-Modal-heading${shimmer ? ' shimmer' : ''}`}>{heading}</span>;
|
|
}
|