add modal page item doctor and date picker basic style
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
function TabsTime() {
|
||||
return (
|
||||
<div>TabsTime</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default TabsTime;
|
||||
@@ -0,0 +1,23 @@
|
||||
import { useState } from "react";
|
||||
import Tabs from "../../Tabs"
|
||||
|
||||
const listTab = ['صبح', 'بعد از ظهر'];
|
||||
|
||||
function DateTime() {
|
||||
|
||||
const [value, setValue] = useState(0);
|
||||
const handleChange = (event, newValue) => setValue(newValue);
|
||||
|
||||
return (
|
||||
<div className="mx-[122px]">
|
||||
<Tabs
|
||||
isSm={true}
|
||||
value={value}
|
||||
listTab={listTab}
|
||||
handleChange={handleChange}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default DateTime
|
||||
Reference in New Issue
Block a user