From 8447b6edb4378dca0913818e788b2c68806c7687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Pota=CC=81c=CC=8Cek?= Date: Sun, 4 Apr 2021 11:01:25 +0200 Subject: [PATCH] Improve readme --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index dd372f7..fcff534 100644 --- a/README.md +++ b/README.md @@ -73,15 +73,15 @@ You can set custom link component that is rendered instead of default anchor ele import React from 'react' import { Anchorme, LinkComponentProps } from 'react-anchorme' -const SomeComponent = () => { - const CustomLink = (props: LinkComponentProps) => { - return ( - - - - ) - } +const CustomLink = (props: LinkComponentProps) => { + return ( + + + + ) +} +const SomeComponent = () => { return ( Lorem ipsum http://example.loc dolor sit amet