docs: add AI Assistant (#5249)
* added components * added ai assistant button * change styling * improve AI assistant * change to a drawer * added command support into search * add AiAssistant to all projects * remove usage of Text component * added error handling * use recaptcha * fix new configurations * fix background color * change suggested questions
This commit is contained in:
@@ -4,6 +4,7 @@ import clsx from "clsx"
|
||||
export type InputTextProps = {
|
||||
className?: string
|
||||
addGroupStyling?: boolean
|
||||
passedRef?: React.Ref<HTMLInputElement>
|
||||
} & React.DetailedHTMLProps<
|
||||
React.InputHTMLAttributes<HTMLInputElement>,
|
||||
HTMLInputElement
|
||||
@@ -12,6 +13,7 @@ export type InputTextProps = {
|
||||
export const InputText = ({
|
||||
addGroupStyling = false,
|
||||
className,
|
||||
passedRef,
|
||||
...props
|
||||
}: InputTextProps) => {
|
||||
return (
|
||||
@@ -32,6 +34,7 @@ export const InputText = ({
|
||||
"text-compact-medium font-base",
|
||||
className
|
||||
)}
|
||||
ref={passedRef}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user