diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..15b1ed9 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "next" +} diff --git a/components/mdComponents.tsx b/components/mdComponents.tsx index 6550993..9b5b3c6 100644 --- a/components/mdComponents.tsx +++ b/components/mdComponents.tsx @@ -1,31 +1,42 @@ -export default { - h1: (props: any) => ( +const H1 = (props: any) => (

- ), - h2: (props: any) => ( + ) +const H2 = (props: any) => (

- ), - h3: (props: any) => ( -

- ), - h4: (props: any) => ( -

- ), - h5: (props: any) => ( -

- ), - h6: (props: any) => ( + ) +const H3 = (props: any) => ( +

+ ) +const H4 = (props: any) => ( +

+ ) +const H5 = (props: any) => ( +

+ ) +const H6 = (props: any) => (
- ), - ul: (props: any) =>