set object to accept function, prevent javascript error (#28192)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
190d4c48b4
Коммит
46ca7747f8
@@ -11,7 +11,7 @@ import FormattedMarkdownMessage, {CustomRenderer} from 'components/formatted_mar
|
||||
type Props = {
|
||||
isMarkdown?: boolean;
|
||||
text: string | MessageDescriptor | JSX.Element;
|
||||
textValues?: Record<string, React.ReactNode>;
|
||||
textValues?: Record<string, string | (() => React.ReactNode)>;
|
||||
}
|
||||
|
||||
const SchemaText = ({
|
||||
|
||||
Ссылка в новой задаче
Block a user