From 42b1808dcc2220fde4527422d1d032f7981618ba Mon Sep 17 00:00:00 2001 From: Mambuco Date: Fri, 27 Sep 2024 19:39:59 +0200 Subject: [PATCH] Initial Components --- theme-provider.tsx | 9 +++++++++ typography.tsx | 15 +++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 theme-provider.tsx create mode 100644 typography.tsx diff --git a/theme-provider.tsx b/theme-provider.tsx new file mode 100644 index 0000000..e90aa8c --- /dev/null +++ b/theme-provider.tsx @@ -0,0 +1,9 @@ +"use client" + +import * as React from "react" +import { ThemeProvider as NextThemesProvider } from "next-themes" +import { type ThemeProviderProps } from "next-themes/dist/types" + +export function ThemeProvider({ children, ...props }: ThemeProviderProps) { + return {children} +} diff --git a/typography.tsx b/typography.tsx new file mode 100644 index 0000000..8f84181 --- /dev/null +++ b/typography.tsx @@ -0,0 +1,15 @@ +import React from "react"; + +export interface Props { + children?: React.ReactNode; +} + +export class H1 extends React.Component { + render() { + return ( +

+ {this.props.children} +

+ ); + } +} \ No newline at end of file