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
+30
@@ -0,0 +1,30 @@
|
||||
import { t as i18nT } from "i18next";
|
||||
import InputRadioGroup from "~/components/ui/input/InputRadioGroup";
|
||||
|
||||
export default function PreviewInputRadioGroup() {
|
||||
return (
|
||||
<div id="input-radio-group">
|
||||
<div className="border-border bg-background border border-dashed p-6">
|
||||
<InputRadioGroup
|
||||
name="name"
|
||||
title={i18nT("components.input.preview.title")}
|
||||
options={[
|
||||
{
|
||||
name: i18nT("components.previewInputs.options.option1"),
|
||||
value: 1,
|
||||
},
|
||||
{
|
||||
name: i18nT("components.previewInputs.options.option2"),
|
||||
value: 2,
|
||||
},
|
||||
{
|
||||
name: i18nT("components.previewInputs.options.option3"),
|
||||
value: 3,
|
||||
disabled: true,
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
import { t as i18nT } from "i18next";
|
||||
import InputRadioGroupCards from "../../InputRadioGroupCards";
|
||||
|
||||
export default function PreviewInputRadioGroupCards() {
|
||||
return (
|
||||
<div id="input-radio-group">
|
||||
<div className="not-prose border-border bg-background border border-dashed p-6">
|
||||
<InputRadioGroupCards
|
||||
name="name"
|
||||
title={i18nT("components.input.preview.title")}
|
||||
options={[
|
||||
{
|
||||
name: i18nT("components.previewInputs.options.option1"),
|
||||
value: 1,
|
||||
},
|
||||
{
|
||||
name: i18nT("components.previewInputs.options.option2"),
|
||||
value: 2,
|
||||
},
|
||||
{
|
||||
name: i18nT("components.previewInputs.options.option3"),
|
||||
value: 3,
|
||||
disabled: true,
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
import { t as i18nT } from "i18next";
|
||||
import { useState } from "react";
|
||||
import InputRadioGroup from "~/components/ui/input/InputRadioGroup";
|
||||
|
||||
type SelectType = string | number | undefined;
|
||||
export default function PreviewInputRadioGroupWithState() {
|
||||
const [value, setValue] = useState<SelectType>(2);
|
||||
return (
|
||||
<div id="input-radio-group-with-state">
|
||||
<div className="border-border bg-background border border-dashed p-6">
|
||||
<InputRadioGroup
|
||||
name="name"
|
||||
title={i18nT("components.input.preview.title")}
|
||||
options={[
|
||||
{
|
||||
name: i18nT("components.previewInputs.options.option1"),
|
||||
value: 1,
|
||||
},
|
||||
{
|
||||
name: i18nT("components.previewInputs.options.option2"),
|
||||
value: 2,
|
||||
},
|
||||
{
|
||||
name: i18nT("components.previewInputs.options.option3"),
|
||||
value: 3,
|
||||
disabled: true,
|
||||
},
|
||||
]}
|
||||
value={value}
|
||||
setValue={setValue}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user