From f9f2911c761af1c8ed1c323dcd414cbaa9eeae7c Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Tue, 13 Sep 2022 11:07:39 -0300
Subject: adding missing i18n

---
 .../taler-wallet-webextension/src/components/Banner.tsx   | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/components/Banner.tsx')

diff --git a/packages/taler-wallet-webextension/src/components/Banner.tsx b/packages/taler-wallet-webextension/src/components/Banner.tsx
index 8d4121277..f95647d42 100644
--- a/packages/taler-wallet-webextension/src/components/Banner.tsx
+++ b/packages/taler-wallet-webextension/src/components/Banner.tsx
@@ -22,7 +22,7 @@ import { Grid } from "../mui/Grid.js";
 import { Paper } from "../mui/Paper.js";
 
 interface Props extends JSX.HTMLAttributes<HTMLDivElement> {
-  title?: string;
+  titleHead?: VNode;
   elements: {
     icon?: VNode;
     description: VNode;
@@ -34,15 +34,18 @@ interface Props extends JSX.HTMLAttributes<HTMLDivElement> {
   };
 }
 
-export function Banner({ title, elements, confirm, ...rest }: Props): VNode {
+export function Banner({
+  titleHead,
+  elements,
+  confirm,
+  ...rest
+}: Props): VNode {
   return (
     <Fragment>
       <Paper elevation={0} {...rest}>
-        {title && (
+        {titleHead && (
           <Grid container>
-            <Grid item>
-              <Typography>{title}</Typography>
-            </Grid>
+            <Grid item>{titleHead}</Grid>
           </Grid>
         )}
         <Grid container columns={1}>
-- 
cgit v1.2.3

