diff --git a/src/App.js b/src/App.js index 3d821b9..742495d 100644 --- a/src/App.js +++ b/src/App.js @@ -171,7 +171,7 @@ function App() { {/* */} {/* */} {/* */} - + {/* */} {/*
diff --git a/src/components/TestComponentNew/index.js b/src/components/TestComponentNew/index.js index 67925f3..679286c 100644 --- a/src/components/TestComponentNew/index.js +++ b/src/components/TestComponentNew/index.js @@ -36,24 +36,29 @@ function DisablePassedDaies({ direction, handleClick, disabled }) { } function CustomRangeInput({ openCalendar, value }) { - // let from = value[0] || ""; - // let to = value[1] || ""; - - // value = from && to ? "از " + from + "، تا " + to": from useEffect(() => { openCalendar(); }, []); return ( -
- - +
+ +

تا

+
); } const TestComponentNew = () => { - const [shouldOpenCalendar, setShouldOpenCalendar] = useState(false); - return (
{ width: "100%", height: "33px", boxSizing: "border-box", + backgroundColor: "red", }} />
diff --git a/src/components/TestComponentNew/index.scss b/src/components/TestComponentNew/index.scss index a38a0ae..f73b6b7 100644 --- a/src/components/TestComponentNew/index.scss +++ b/src/components/TestComponentNew/index.scss @@ -1,18 +1,18 @@ .custom-input { - border-radius: 15px; - border: 1px #0c8af8 solid; - padding: 4px 12px; - background-color: white; - height: 22px; - box-shadow: 0 0 2px #0074d9; - // display: none !important; + // border-radius: 15px; + // border: 1px #0c8af8 solid; + // padding: 4px 12px; + // background-color: white; + // height: 22px; + // box-shadow: 0 0 2px #0074d9; + // display: none !important; } -.custom-input:focus { - outline: none; - border: 1px solid #0c8af8; - box-shadow: 0 0 10px 2px #0074d9; -} +// .custom-input:focus { +// outline: none; +// border: 1px solid #0c8af8; +// box-shadow: 0 0 10px 2px #0074d9; +// } .rmdp-arrow-container { background-color: #0074d9;