mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 12:37:20 +00:00
upgrade to react 19
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { FieldApi, ReactFormExtendedApi } from "@tanstack/react-form";
|
||||
import type { JSX } from "react";
|
||||
import {
|
||||
type Entity,
|
||||
type EntityData,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import type { IconType } from "react-icons";
|
||||
import { TemplateMediaComponent, TemplateMediaMeta } from "./media";
|
||||
import type { ReactNode } from "react";
|
||||
|
||||
export type StepTemplate = {
|
||||
id: string;
|
||||
@@ -8,8 +9,6 @@ export type StepTemplate = {
|
||||
Icon: IconType;
|
||||
};
|
||||
|
||||
const Templates: [() => JSX.Element, StepTemplate][] = [
|
||||
[TemplateMediaComponent, TemplateMediaMeta],
|
||||
];
|
||||
const Templates: [() => ReactNode, StepTemplate][] = [[TemplateMediaComponent, TemplateMediaMeta]];
|
||||
|
||||
export default Templates;
|
||||
|
||||
Reference in New Issue
Block a user