{"version":3,"sources":["PickerItem.js"],"names":["Option","props","ReactNativeWeb","unstable_createElement","PickerItem","color","label","testID","value","enabled","undefined"],"mappings":";;;;;;;AASA;;AACA;;;;;;AAVA;AACA;AACA;AACA;AACA;AACA;AAeA,MAAMA,MAAM,GAAIC,KAAD,IACbC,cAAc,CAACC,sBAAf,CAAsC,QAAtC,EAAgDF,KAAhD,CADF;AAGA;AACA;AACA;AACA;;;AACe,SAASG,UAAT,CAAoB;AACjCC,EAAAA,KADiC;AAEjCC,EAAAA,KAFiC;AAGjCC,EAAAA,MAHiC;AAIjCC,EAAAA,KAJiC;AAKjCC,EAAAA,OAAO,GAAG;AALuB,CAApB,EAMO;AACpB,sBACE,oBAAC,MAAD;AACE,IAAA,QAAQ,EAAEA,OAAO,KAAK,KAAZ,GAAoB,IAApB,GAA2BC,SADvC;AAEE,IAAA,KAAK,EAAE;AAACL,MAAAA;AAAD,KAFT;AAGE,IAAA,MAAM,EAAEE,MAHV;AAIE,IAAA,KAAK,EAAEC,KAJT;AAKE,IAAA,KAAK,EAAEF;AALT,KAMGA,KANH,CADF;AAUD","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * @flow\n *\n */\n\nimport type {ColorValue} from 'react-native/Libraries/StyleSheet/StyleSheet';\n\nimport * as React from 'react';\nimport * as ReactNativeWeb from 'react-native-web';\n\ntype Props = {\n  color?: ColorValue,\n  label: string,\n  testID?: string,\n  enabled?: boolean,\n  value?: number | string,\n};\n\nconst Option = (props: any) =>\n  ReactNativeWeb.unstable_createElement('option', props);\n\n/**\n * PickerItem Component for React Native Web\n * @returns\n */\nexport default function PickerItem({\n  color,\n  label,\n  testID,\n  value,\n  enabled = true,\n}: Props): React.Node {\n  return (\n    <Option\n      disabled={enabled === false ? true : undefined}\n      style={{color}}\n      testID={testID}\n      value={value}\n      label={label}>\n      {label}\n    </Option>\n  );\n}\n"]}