import type { CSSProperties } from 'react';

export function useMultiChoiceLoadingStyle(loading: boolean): CSSProperties {
   if (!loading) {
      return {};
   }

   return {
      opacity: 0.5,
      pointerEvents: 'none',
   };
}
