From ed3f7a76d6b79e61f0d48e82d84e682cd58558c2 Mon Sep 17 00:00:00 2001 From: Harsh Rathore Date: Thu, 29 Oct 2020 12:19:47 +0530 Subject: [PATCH] Example Data Shown --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 78c1cc2..7d7a4e5 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,31 @@ import { SearchBar } from 'react-search-bar' import 'react-search-bar/dist/index.css' class Example extends Component { + const Data = [ + { + key: 'john', + value: 'John Doe' + }, + { + key: 'jane', + value: 'Jane Doe' + }, + { + key: 'mary', + value: 'Mary Phillips' + }, + { + key: 'robert', + value: 'Robert' + }, + { + key: 'karius', + value: 'Karius' + } +]; + render() { - return + return } } ```