Track HiveGrid Cloud planning reference
This commit is contained in:
1 parent
b3d5ea6764
commit
e341c5938a
5784 files changed
+1104929
-3
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import { t as i18nT } from "i18next";
|
||||
import InputDate from "~/components/ui/input/InputDate";
|
||||
|
||||
export default function PreviewInputDate() {
|
||||
return (
|
||||
<div id="input-date">
|
||||
<div className="border-border bg-background border border-dashed p-6">
|
||||
<InputDate name="name" title={i18nT("components.input.preview.title")} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
import { useState } from "react";
|
||||
import { t as i18nT } from "i18next";
|
||||
import InputDate from "~/components/ui/input/InputDate";
|
||||
|
||||
export default function PreviewInputDateWithState() {
|
||||
const [value, setValue] = useState(new Date("1990-01-02"));
|
||||
return (
|
||||
<div id="input-date-with-state">
|
||||
<div className="border-border bg-background border border-dashed p-6">
|
||||
<InputDate name="name" title={i18nT("components.input.preview.title")} value={value} onChange={(e) => setValue(e)} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user