set icon for timepicker field and set deafult step to 0

This commit is contained in:
Ehsan
2024-10-21 00:39:16 +03:30
parent 97939fb101
commit df0a08dcdc
3 changed files with 10 additions and 12 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import GeneralInformation from "./listMenu/generalInformation";
import Step from "./Step";
function AddDoctorPage() {
const [value, setValue] = useState(1);
const [value, setValue] = useState(0);
const [data, setData] = useState({
general: {
name: { value: "", placeholder: "احسان احمدی", isEdit: true },
@@ -74,7 +74,7 @@ function Form({
disable={value === 1}
setData={setData}
timeStart={true}
data={data}
data={data[parent]}
/>
</ContentText>
<ContentText text="زمان پایان">
@@ -84,7 +84,7 @@ function Form({
disable={value === 1}
setData={setData}
timeStart={false}
data={data}
data={data[parent]}
/>
</ContentText>
<div