From 4e060a8d267003def27ee197444ebe2079afcb46 Mon Sep 17 00:00:00 2001 From: Mambuco Date: Fri, 27 Sep 2024 19:55:13 +0200 Subject: [PATCH] Finished Typography Co-authored-by: KillerBossOriginal --- typography.tsx | 102 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) diff --git a/typography.tsx b/typography.tsx index 8f84181..e95c506 100644 --- a/typography.tsx +++ b/typography.tsx @@ -12,4 +12,106 @@ export class H1 extends React.Component { ); } +} + +export class H2 extends React.Component { + render() { + return ( +

+ {this.props.children} +

+ ); + } +} + +export class H3 extends React.Component { + render() { + return ( +

+ {this.props.children} +

+ ); + } +} + +export class H4 extends React.Component { + render() { + return ( +

+ {this.props.children} +

+ ); + } +} + +export class P extends React.Component { + render() { + return ( +

+ {this.props.children} +

+ ); + } +} + +export class Blockquote extends React.Component { + render() { + return ( +
+ {this.props.children} +
+ ); + } +} + +export class Table extends React.Component { + render() { + return ( +
+ + {this.props.children} +
+
+ ); + } +} + +export class TableHead extends React.Component { + render() { + return ( + + {this.props.children} + + ); + } +} + +export class Tr extends React.Component { + render() { + return ( + + {this.props.children} + + ); + } +} + +export class Th extends React.Component { + render() { + return ( + + {this.props.children} + + ); + } +} + +export class Td extends React.Component { + render() { + return ( + + {this.props.children} + + ); + } } \ No newline at end of file