update Header
This commit is contained in:
parent
9f735a3468
commit
68c285d75c
@ -3,7 +3,7 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { Box, HStack, Image, Text, VStack } from "@chakra-ui/react";
|
import { Box, HStack, Image, Text, VStack } from "@chakra-ui/react";
|
||||||
|
|
||||||
function AppHeaderRoot({ children, ...props }) {
|
function HeaderRoot({ children, ...props }) {
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
as="header"
|
as="header"
|
||||||
@ -80,7 +80,7 @@ function Bi({ logoSrc = "/logob.png", ...props }) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export const AppHeader = Object.assign(AppHeaderRoot, {
|
export const Header = Object.assign(HeaderRoot, {
|
||||||
BrandSection,
|
BrandSection,
|
||||||
Logo,
|
Logo,
|
||||||
Brand,
|
Brand,
|
||||||
Loading…
x
Reference in New Issue
Block a user