mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
improved media settings implementation
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import AppShellAccordionsTest from "ui/routes/test/tests/appshell-accordions-test";
|
||||
import JsonSchemaFormReactTest from "ui/routes/test/tests/json-schema-form-react-test";
|
||||
|
||||
import FormyTest from "ui/routes/test/tests/formy-test";
|
||||
import SwaggerTest from "ui/routes/test/tests/swagger-test";
|
||||
import SWRAndAPI from "ui/routes/test/tests/swr-and-api";
|
||||
import SwrAndDataApi from "ui/routes/test/tests/swr-and-data-api";
|
||||
@@ -48,7 +49,8 @@ const tests = {
|
||||
SwrAndDataApi,
|
||||
DropzoneElementTest,
|
||||
JsonSchemaFormReactTest,
|
||||
JsonSchemaForm3
|
||||
JsonSchemaForm3,
|
||||
FormyTest
|
||||
} as const;
|
||||
|
||||
export default function TestRoutes() {
|
||||
|
||||
17
app/src/ui/routes/test/tests/formy-test.tsx
Normal file
17
app/src/ui/routes/test/tests/formy-test.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import * as Formy from "ui/components/form/Formy";
|
||||
|
||||
export default function FormyTest() {
|
||||
return (
|
||||
<div className="flex flex-col gap-3">
|
||||
formy
|
||||
<Formy.Group>
|
||||
<Formy.Label>label</Formy.Label>
|
||||
<Formy.Switch onCheckedChange={console.log} />
|
||||
</Formy.Group>
|
||||
<Formy.Group>
|
||||
<Formy.Label>label</Formy.Label>
|
||||
<Formy.Input />
|
||||
</Formy.Group>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -138,7 +138,7 @@ export default function JsonSchemaForm3() {
|
||||
initialValues={{ tags: [0, 1] }}
|
||||
/>*/}
|
||||
|
||||
<CustomMediaForm />
|
||||
{/*<CustomMediaForm />*/}
|
||||
<Form schema={schema.media} initialValues={config.media} />
|
||||
|
||||
{/*<Form
|
||||
|
||||
Reference in New Issue
Block a user