Commit abd9d1d9 authored by Muhammadali's avatar Muhammadali

update verison: 0.9.9

parent e519501b
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "0.9.8", "version": "0.9.9",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -8,7 +8,7 @@ const DropDown = ({ reasons, reason, selectFunc }) => { ...@@ -8,7 +8,7 @@ const DropDown = ({ reasons, reason, selectFunc }) => {
return ( return (
<DropDownStyle <DropDownStyle
onClick={() => setVisible(visible == 0 ? 0 : 1)} onClick={() => setVisible(visible ? 0 : 1)}
className='nocopy'> className='nocopy'>
<DropDownStyle.Text>{reason}</DropDownStyle.Text> <DropDownStyle.Text>{reason}</DropDownStyle.Text>
<DropDownStyle.DropDown visiblevalue={visible} className={'nocopy'}> <DropDownStyle.DropDown visiblevalue={visible} className={'nocopy'}>
......
...@@ -43,6 +43,7 @@ DropDownStyle.DropDown = styled.div` ...@@ -43,6 +43,7 @@ DropDownStyle.DropDown = styled.div`
background-color: #e9e9e9; background-color: #e9e9e9;
} }
} }
${({ visiblevalue }) => console.log(visiblevalue, 'visiblevalue')}
${({ visiblevalue }) => ${({ visiblevalue }) =>
visiblevalue == 1 visiblevalue == 1
? { ? {
......
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