show emoji in tabs
This commit is contained in:
parent
0d81406190
commit
9bf3973020
|
|
@ -23,7 +23,7 @@ export function Nav({ app, render }: { app: App; render: () => void }) {
|
||||||
return (
|
return (
|
||||||
<TabBar>
|
<TabBar>
|
||||||
<Tab active={selectedTab === 'overview' ? true : undefined} onClick={() => handleTabClick('overview')}>
|
<Tab active={selectedTab === 'overview' ? true : undefined} onClick={() => handleTabClick('overview')}>
|
||||||
Overview
|
📋 Overview
|
||||||
</Tab>
|
</Tab>
|
||||||
{tools.map(tool => {
|
{tools.map(tool => {
|
||||||
const toolName = typeof tool.tool === 'string' ? tool.tool : tool.name
|
const toolName = typeof tool.tool === 'string' ? tool.tool : tool.name
|
||||||
|
|
@ -33,7 +33,7 @@ export function Nav({ app, render }: { app: App; render: () => void }) {
|
||||||
active={selectedTab === tool.name ? true : undefined}
|
active={selectedTab === tool.name ? true : undefined}
|
||||||
onClick={() => handleTabClick(tool.name)}
|
onClick={() => handleTabClick(tool.name)}
|
||||||
>
|
>
|
||||||
{titlecase(toolName)}
|
{tool.icon} {titlecase(toolName)}
|
||||||
</Tab>
|
</Tab>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user