export const useLogic = (props) => {
    const isTooltipActive = props.isTooltipActive ?? !props.disabled;
    const withoutContainer = !(isTooltipActive && props.disabled);
    return {
        ...props,
        isTooltipActive,
        withoutContainer,
        variant: props.selected ? 'contained' : 'text',
    };
};
