From 2b9a488184a61c8ea248bf421fbffc2f9559225e Mon Sep 17 00:00:00 2001 From: Morten Olsen Date: Fri, 9 Nov 2018 11:40:50 +0100 Subject: [PATCH] Update README.md --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5bbe865..6aa56e2 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ import { DevToolModal, log, network, + show, } from 'react-native-debug-console'; network.attach(); @@ -55,4 +56,18 @@ const AppWithComponent = () => ( ); ``` -Both `DevTool` and `DevToolModal` has a `includeStackTrace` property, which if set will print the stack trace on errors, not just the error message. `` \ No newline at end of file +Both `DevTool` and `DevToolModal` has a `includeStackTrace` property, which if set will print the stack trace on errors, not just the error message. `` + +## Custom views +In addition to the included views (Console, Network and Storage), custom views can also be added using the `additionalTools` prop + +```javascript +, + getData: () => 'some data for export', + }]} +/> +```