1 import { type FC } from 'react';
3 import { type IconName } from '@proton/components';
4 import { UpgradeButton } from '@proton/pass/components/Layout/Button/UpgradeButton';
5 import { type UpsellRef } from '@proton/pass/constants';
7 import { ValueControl } from './ValueControl';
9 type UpgradeControlProps = {
15 export const UpgradeControl: FC<UpgradeControlProps> = ({ icon, label, upsellRef }) => (
16 <ValueControl icon={icon} label={label}>
17 <UpgradeButton inline upsellRef={upsellRef} />