Skip to content

High performance self-hosted photo and video management solution.

445 B
Raw Blame
<script lang="ts">
  import { Icon, Text } from '@immich/ui';
  import { mdiCheck, mdiClose } from '@mdi/js';

  interface Props {
    title: string;
    state: boolean;
  }

  let { title, state }: Props = $props();
</script>

<div class="flex items-center justify-between">
  <Text class="text-sm" fontWeight="medium">{title}</Text>
  <Icon icon={state ? mdiCheck : mdiClose} class={state ? 'text-primary' : 'text-danger'} size="24" />
</div>