# Container/TopBar
## Examples
### Base
```tsx
{
args: {
notification_count: 9
},
render: (args: ArgsType) => {
const logout = () => alert('logout');
return
}>email@.example.com
로그아웃
도움말
파트너라운지
{args.notification_count > 99 ? '99+' : args.notification_count}
;
}
}
```
### Mobile
조건에 따라 원하는 조합으로 작성할 수 있습니다.
```tsx
{
args: {
notification_count: 9
},
parameters: {
docs: {
description: {
story: '조건에 따라 원하는 조합으로 작성할 수 있습니다.'
}
}
},
render: (args: ArgsType) => {
const logout = () => alert('logout');
return
파트너라운지
로그아웃
파트너라운지
{args.notification_count > 99 ? '99+' : args.notification_count}
;
}
}
```
### 알림 100개이상 케이스 PC
```tsx
{
args: {
notification_count: 9
},
render: (args: ArgsType) => {
const logout = () => alert('logout');
return
}>email@.example.com
로그아웃
도움말
파트너라운지
{args.notification_count > 99 ? '99+' : args.notification_count}
;
},
name: '알림 100개이상 케이스 PC',
args: {
notification_count: 999
}
}
```
### 알림 100개이상 케이스 모바일
조건에 따라 원하는 조합으로 작성할 수 있습니다.
```tsx
{
args: {
notification_count: 9
},
parameters: {
docs: {
description: {
story: '조건에 따라 원하는 조합으로 작성할 수 있습니다.'
}
}
},
render: (args: ArgsType) => {
const logout = () => alert('logout');
return
파트너라운지
로그아웃
파트너라운지
{args.notification_count > 99 ? '99+' : args.notification_count}
;
},
name: '알림 100개이상 케이스 모바일',
args: {
notification_count: 999
}
}
```