From e3cc72181c9957f0a95bb9d89b7ab6a18f0a861b Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 7 Jan 2021 09:32:13 +0100 Subject: vierkant.tsx -> ui.tsx --- src/components/dialogBox.tsx | 2 +- src/components/ui.tsx | 26 ++++++++++++++++++++++++++ src/components/vierkant.tsx | 26 -------------------------- 3 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 src/components/ui.tsx delete mode 100644 src/components/vierkant.tsx (limited to 'src/components') diff --git a/src/components/dialogBox.tsx b/src/components/dialogBox.tsx index 778cd7a..74fe99b 100644 --- a/src/components/dialogBox.tsx +++ b/src/components/dialogBox.tsx @@ -1,6 +1,6 @@ import { ReactNode } from 'react'; -import { Vierkant } from './vierkant'; +import { Vierkant } from './ui'; import CancelIcon from '@material-ui/icons/Cancel'; diff --git a/src/components/ui.tsx b/src/components/ui.tsx new file mode 100644 index 0000000..558eab8 --- /dev/null +++ b/src/components/ui.tsx @@ -0,0 +1,26 @@ +import { CSSProperties, ReactNode } from "react"; + +interface VierkantProps { + href?: string; + width?: string; + height?: string; + style?: CSSProperties; + children?: ReactNode; +} + +export function Vierkant(props: VierkantProps) { + return {props.children} +} + diff --git a/src/components/vierkant.tsx b/src/components/vierkant.tsx deleted file mode 100644 index 558eab8..0000000 --- a/src/components/vierkant.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import { CSSProperties, ReactNode } from "react"; - -interface VierkantProps { - href?: string; - width?: string; - height?: string; - style?: CSSProperties; - children?: ReactNode; -} - -export function Vierkant(props: VierkantProps) { - return {props.children} -} - -- cgit v1.2.3