23 lines
455 B
JavaScript
23 lines
455 B
JavaScript
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 |