{"version":3,"file":"SelectSort-Dci7Jis3.js","sources":["../../src/scripts/modules/react-modules/Listings/SelectSort.tsx"],"sourcesContent":["import React from 'react';\nimport { SortOptions } from './types';\nimport {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger\n} from '../../../components/react-components/Accordion';\ninterface OwnProps {\n options:\n | {\n label: string;\n value: string;\n }[]\n | null;\n sort: string;\n defaultValue: string;\n setSort: (sort: SortOptions) => void;\n isMobile: boolean;\n}\n\nconst SelectSort = ({ options, sort, setSort, isMobile }: OwnProps) => {\n if (!options) {\n return null;\n }\n\n if (isMobile) {\n // we return a list of radio buttons withe the same options\n return (\n