mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
8ee031e978
Cleaner tabs navigation for admin tabs ![image](https://github.com/Unleash/unleash/assets/2625371/1858276b-543f-42e3-85be-385090558a03) Closes https://linear.app/unleash/issue/1-1104/improved-menu-oss
28 lines
853 B
TypeScript
28 lines
853 B
TypeScript
import { VFC } from 'react';
|
|
import { ReactComponent as ProPlanIcon } from 'assets/icons/pro-enterprise-feature-badge.svg';
|
|
import { ReactComponent as ProPlanIconLight } from 'assets/icons/pro-enterprise-feature-badge-light.svg';
|
|
import { ThemeMode } from 'component/common/ThemeMode/ThemeMode';
|
|
|
|
type EnterpriseBadgeProps = {
|
|
size?: number;
|
|
};
|
|
|
|
export const EnterpriseBadge: VFC<EnterpriseBadgeProps> = ({ size = 16 }) => (
|
|
<ThemeMode
|
|
darkmode={
|
|
<ProPlanIconLight
|
|
width={size}
|
|
height={size}
|
|
style={{ filter: 'grayscale(100%)', opacity: 0.51 }}
|
|
/>
|
|
}
|
|
lightmode={
|
|
<ProPlanIcon
|
|
width={size}
|
|
height={size}
|
|
style={{ filter: 'grayscale(100%)', opacity: 0.6 }}
|
|
/>
|
|
}
|
|
/>
|
|
);
|