@heroicons/react/solid#DatabaseIcon TypeScript Examples
The following examples show how to use
@heroicons/react/solid#DatabaseIcon.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MobileBottomNav.tsx From ide with Mozilla Public License 2.0 | 6 votes |
MobileBottomNav = (props: MobileBottomNavProps): JSX.Element => {
return (
<div className="bg-[#1E1E1E] grid grid-cols-3">
<MobileBottomNavButton
IconComponent={CodeIcon}
label="Code"
isActive={props.activeTab === 'code'}
onClick={() => props.onActiveTabChange('code')}
/>
<MobileBottomNavButton
IconComponent={DatabaseIcon}
label="Input/Output"
isActive={props.activeTab === 'io'}
onClick={() => props.onActiveTabChange('io')}
/>
<MobileBottomNavButton
IconComponent={UsersIcon}
label="Users"
isActive={props.activeTab === 'users'}
onClick={() => props.onActiveTabChange('users')}
/>
</div>
);
}