Skip to content

Commit

Permalink
chore: update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
musma-sujan7 committed Nov 8, 2023
1 parent 1171769 commit 5d41a77
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/lovely-ducks-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@musma/react-component": minor
---

chore: update versions
14 changes: 12 additions & 2 deletions packages/libraries-test/src/layout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@ import {
NavBar,
NavBarLink,
Image,
NavBarItemsData,
useFoldingNavBarContext,
Typography,
} from '@musma/react-component'
import { FillBookmarkIcon, FillAlarmIcon } from '@musma/react-icons'

import musma_logo from './images/logo.svg'

export const AppLayout = () => {
const theme = useTheme()
const { isNavBarFolded } = useFoldingNavBarContext()

const menus = [
const menus: NavBarItemsData[] = [
{
label: '홈',
icon: () => <FillBookmarkIcon color="white" />,
Expand Down Expand Up @@ -51,7 +55,13 @@ export const AppLayout = () => {
css={{
backgroundColor: theme.colors.blue.main,
}}
logo={<Image src={musma_logo} alt="무스마 로고...가 아니넹 ㅋ" width="100%" />}
logo={
isNavBarFolded ? (
<Typography>심볼</Typography>
) : (
<Image src={musma_logo} alt="무스마 로고...가 아니넹 ㅋ" width="100%" />
)
}
></HeaderLeftSection>
<HeaderRightSection isFoldingMode>메뉴지롱 메롱메롱</HeaderRightSection>
</Header>
Expand Down

0 comments on commit 5d41a77

Please sign in to comment.