refactor[baseModal]: Move baseModal types to types directorie
This commit is contained in:
parent
bfee2ffe70
commit
f990b0e39b
2 changed files with 5 additions and 3 deletions
|
|
@ -10,9 +10,7 @@ import {
|
|||
DialogTrigger,
|
||||
} from "../../components/ui/dialog";
|
||||
import { PopUpContext } from "../../contexts/popUpContext";
|
||||
|
||||
type ContentProps = { children: ReactNode };
|
||||
type HeaderProps = { children: ReactNode; description: string };
|
||||
import { ContentProps, HeaderProps } from "../../types/components";
|
||||
|
||||
const Content: React.FC<ContentProps> = ({ children }) => {
|
||||
return <div className="h-full w-full">{children}</div>;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ import { ReactElement, ReactNode } from "react";
|
|||
import { APIClassType } from "../api";
|
||||
import { NodeDataType } from "../flow/index";
|
||||
import { typesContextType } from "../typesContext";
|
||||
|
||||
export type InputComponentType = {
|
||||
value: string;
|
||||
disabled?: boolean;
|
||||
|
|
@ -195,3 +196,6 @@ export type TooltipProps = {
|
|||
export type LoadingComponentProps = {
|
||||
remSize: number;
|
||||
};
|
||||
|
||||
export type ContentProps = { children: ReactNode };
|
||||
export type HeaderProps = { children: ReactNode; description: string };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue