feat: migrate to the realm rc version

This commit is contained in:
Nazarii Mykhailets
2024-05-28 17:09:54 +03:00
parent 1ca4997c1c
commit 7402168061
46 changed files with 472 additions and 1322 deletions

View File

@@ -1,6 +1,6 @@
import * as React from 'react';
import { useState } from 'react'
import { useTranslate } from '@portal/hooks';
import { useThemeHooks } from '@redocly/theme/core/hooks';
import { LogEntry, LogEntryItem } from './LogEntry';
/**
@@ -42,6 +42,7 @@ export interface TextLookupFormProps {
* @returns A single-entry form which displays logs after submitting.
*/
export function TextLookupForm(props: TextLookupFormProps) {
const { useTranslate } = useThemeHooks()
const { translate } = useTranslate()
const { title, description, buttonDescription, formPlaceholder, handleSubmit } = props