Commit 219c9a38 authored by Muhammadali's avatar Muhammadali

update version: 0.9.5

parent e496c620
{
"name": "boxdialer",
"version": "0.9.4",
"version": "0.9.5",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -7,10 +7,7 @@ const DropDown = ({ reasons, reason, selectFunc }) => {
const [visible, setVisible] = useState(false);
return (
<DropDownStyle
visibleValue={visible}
onClick={() => setVisible(!visible)}
className='nocopy'>
<DropDownStyle onClick={() => setVisible(!visible)} className='nocopy'>
<DropDownStyle.Text>{reason}</DropDownStyle.Text>
<DropDownStyle.DropDown visibleValue={visible} className={'nocopy'}>
{reasons.map((value, index) => (
......
......@@ -14,7 +14,7 @@ DropDownStyle.Text = styled.div`
font-size: 22px;
`;
DropDownStyle.Window = styled.div`
/* display: ${({ visibleValue }) => (visibleValue ? 'block' : 'none')}; */
display: ${({ visibleValue }) => (visibleValue ? 'block' : 'none')};
position: fixed;
top: 0;
left: 0;
......@@ -43,7 +43,7 @@ DropDownStyle.DropDown = styled.div`
background-color: #e9e9e9;
}
}
/* ${({ visibleValue }) =>
${({ visibleValue }) =>
visibleValue
? {
opacity: '1',
......@@ -52,7 +52,7 @@ DropDownStyle.DropDown = styled.div`
: {
opacity: '0',
transform: 'scale(0) translate(-50%, 0)',
}} */
}}
`;
export default DropDownStyle;
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