Skip to content

A local-first personal finance app

431 B
Raw Blame
import { SvgCheck } from '@actual-app/components/icons/v2';
import { theme } from '@actual-app/components/theme';

type SelectedIndicatorProps = {
  selected: boolean;
};

export function SelectedIndicator({ selected }: SelectedIndicatorProps) {
  return (
    <SvgCheck
      style={{
        width: 13,
        height: 13,
        flexShrink: 0,
        color: selected ? theme.noticeText : 'transparent',
      }}
    />
  );
}