import SearchLocationDropdown from '../components/SearchLocationDropdown';
const meta = {
    title: 'Dropdown/SearchLocationDropdown',
    component: SearchLocationDropdown
};
export default meta;
var selectedLocationHook = 'Current';
export const Primary = {
    args: {
        selectedLocation: selectedLocationHook,
        setSelectedLocation: (location) => {
            alert(`prev location recieved :::: ${location}`);
            if (location === 'Current') {
                selectedLocationHook = 'Previous';
            }
            else if (location === 'Previous') {
                selectedLocationHook = 'Current';
            }
        }
    },
};
