From c57496e76fe5488386e6e0e5cc80ebaf53e01884 Mon Sep 17 00:00:00 2001 From: Ostap Mokhnatskyi Date: Wed, 29 Sep 2021 19:20:42 +0300 Subject: [PATCH] added cApp override component with custom header on top --- _override/App.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 _override/App.tsx diff --git a/_override/App.tsx b/_override/App.tsx new file mode 100644 index 00000000..70decdc3 --- /dev/null +++ b/_override/App.tsx @@ -0,0 +1,13 @@ +import * as React from 'react'; +import type { Location } from 'history'; + +export function App({ children, location }: React.PropsWithChildren<{ location: Location }>) { + return ( + <> +
+ Header +
+ {children} + + ); +} \ No newline at end of file