diff --git a/typography.tsx b/typography.tsx index 5ea8909..1450a95 100644 --- a/typography.tsx +++ b/typography.tsx @@ -1,15 +1,17 @@ "use client"; +import { cn } from "@/lib/utils"; import React from "react"; export interface Props { children?: React.ReactNode; + className?: String; } export class H1 extends React.Component { render() { return ( -

+

{this.props.children}

); @@ -19,7 +21,7 @@ export class H1 extends React.Component { export class H2 extends React.Component { render() { return ( -

+

{this.props.children}

); @@ -29,7 +31,7 @@ export class H2 extends React.Component { export class H3 extends React.Component { render() { return ( -

+

{this.props.children}

); @@ -39,7 +41,7 @@ export class H3 extends React.Component { export class H4 extends React.Component { render() { return ( -

+

{this.props.children}

); @@ -49,7 +51,7 @@ export class H4 extends React.Component { export class P extends React.Component { render() { return ( -

+

{this.props.children}

); @@ -59,7 +61,7 @@ export class P extends React.Component { export class Blockquote extends React.Component { render() { return ( -
+
{this.props.children}
); @@ -69,7 +71,7 @@ export class Blockquote extends React.Component { export class Table extends React.Component { render() { return ( -
+
{this.props.children}
@@ -91,7 +93,7 @@ export class TableHead extends React.Component { export class Tr extends React.Component { render() { return ( - + {this.props.children} ); @@ -101,7 +103,7 @@ export class Tr extends React.Component { export class Th extends React.Component { render() { return ( - + {this.props.children} ); @@ -111,7 +113,7 @@ export class Th extends React.Component { export class Td extends React.Component { render() { return ( - + {this.props.children} );