UNPKG

@aplus-frontend/ui

Version:

6 lines (5 loc) 157 B
const t = (e) => typeof e == "object" ? e.value : e, o = (e) => typeof e == "object" ? e.label : e; export { o as getOptionLabel, t as getOptionValue };