feat: add internationalization message platform
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export function UnsafeBackendFailure({
|
||||
failure,
|
||||
}: Readonly<{ failure: { message: string } }>) {
|
||||
return <p>{failure.message}</p>;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
export function HardcodedCommonAction() {
|
||||
return <button type="button">다시 시도</button>;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
export function UnsafeTranslatedMarkup({ value }: Readonly<{ value: string }>) {
|
||||
return <p dangerouslySetInnerHTML={{ __html: value }} />;
|
||||
}
|
||||
Reference in New Issue
Block a user