UNPKG

react-select-search-nextjs

Version:

Lightweight select component for React with support for NextJS

8 lines (7 loc) 212 B
import getValue from './getValue'; export default function getValues(options) { if (Array.isArray(options)) { return options.map(o => getValue(o)).filter(v => v !== null); } return getValue(options); }