{"version":3,"file":"index-Dj43Neqv.js","sources":["../../../app/javascript/entrypoints/components/Select/index.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { formControl } from '../styles';\n\nexport interface Option {\n text: string | number | undefined;\n value: string | number | undefined;\n}\n\ninterface Props extends React.SelectHTMLAttributes {\n options: Option[];\n max: number | undefined;\n}\n\nexport const Select: React.FC = ({ className, options, max, ...props }) => {\n return (\n \n {options.map((option, i) => (\n \n ))}\n \n );\n};\n"],"names":["Select","className","options","max","props","jsx","formControl","option","i"],"mappings":"6JAca,MAAAA,EAA0B,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAS,IAAAC,EAAK,GAAGC,KAElEC,EAAA,IAAC,SAAA,CACC,UAAW,GAAGC,EAAY,SAAS,IAAIL,CAAS,GAChD,MAAOK,EAAY,MACnB,MAAOH,EACN,GAAGC,EAEH,SAAQF,EAAA,IAAI,CAACK,EAAQC,IACpBH,EAAAA,IAAC,SAAe,CAAA,MAAOE,EAAO,MAC3B,SAAOA,EAAA,IAAA,EADGC,CAEb,CACD,CAAA,CAAA"}