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', + }]} +/> +```