I\'m attempting to create a function where the columns parameter depends on what type has been selected.
columns
type
function useNavigation(type: