i am storing values into three different variable.
const companyValue = useSelector((state) => state.changeCompanyReducer.company);
const selectionValueArray = Object.values(companyValue);
const companyCode = selectionValueArray[0];
const employeeId = selectionValueArray[1];
i am getting 3 values from selectionValueArray , companyCode , employeeId .
i want to place whole code in one file and import all these three variable name anywhere i want so that i can get 3 different values.
How can i achieve this?Thanks.