JavaScript SDK
Installing datasherlock
You can install datasherlock in your React project with
Using datasherlock-components in your project
You can import our Sherlock
component in your React project, using the code below.
Properties
agentID
: Your Agent IDapiKey
: Your Agent API KeydebugMode
: If this is true, the SQL query used to get the result will be shown. If it is false, only the data will be shown and the data will be hiddensqlOnly
: If this is true, only the SQL query will be shown and the data will be hiddenloadingMessage
: This is the message that comes up while a user is waiting for the results to appearcolor
: Select your preferred color from the options provided: red, blue, green, or orange. Leave the field empty for the default color.theme
: Choose between a light or dark theme, or opt for the system theme.
Last updated