Commit d39a85bd authored by Muhammadali's avatar Muhammadali

update-

parent c3630820
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.4.1", "version": "2.4.2",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -12,7 +12,9 @@ const DropDown = ({ reasons, reason, selectFunc }) => { ...@@ -12,7 +12,9 @@ const DropDown = ({ reasons, reason, selectFunc }) => {
<DropDownStyle <DropDownStyle
onClick={() => setVisible(visible ? 0 : 1)} onClick={() => setVisible(visible ? 0 : 1)}
className='nocopy'> className='nocopy'>
<DropDownStyle.Text>{reason}</DropDownStyle.Text> <DropDownStyle.Text>
<Text id={reason.toUpperCase()} />
</DropDownStyle.Text>
<DropDownStyle.DropDown visiblevalue={visible} className={'nocopy'}> <DropDownStyle.DropDown visiblevalue={visible} className={'nocopy'}>
{reasons.map((value, index) => ( {reasons.map((value, index) => (
<div className='select' key={index} onClick={() => selectFunc(value)}> <div className='select' key={index} onClick={() => selectFunc(value)}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment