Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
The component failed to render properly, likely due to a configuration issue in Storybook. Here are some common causes and how you can address them:
Component for displaying the configuration options for a data source plugin.
It is used in a ConfigEditor
for data source plugins. You can find more examples in our core data source
plugins here.
export const ConfigEditor = (props: Props) => { const { options, onOptionsChange } = props; return ( <> <DataSourceHttpSettings defaultUrl="http://localhost:9090" dataSourceConfig={options} showAccessOptions={true} onChange={onOptionsChange} sigV4AuthEnabled={false} /> {/* Additional configuration settings for your data source plugin.*/} </> ); };
Name | Description | Default |
---|---|---|
defaultUrl* | The default url for the data source string | - |
urlLabel | Set label for url option string | - |
urlDocs | Added to default url tooltip ReactNode | - |
showAccessOptions | Show the http access help box boolean | - |
sigV4AuthToggleEnabled | Show the SigV4 auth toggle option boolean | - |
azureAuthSettings | Azure authentication settings * AzureAuthSettings | - |
renderSigV4Editor | If SIGV4 is enabled, provide an editor for SIGV4 connection config * ReactNode | - |
secureSocksDSProxyEnabled | Show the Secure Socks Datasource Proxy toggle option boolean | - |
dataSourceConfig* | The configuration object of the data source DataSourceSettings<any, any> | - |
onChange* | Callback for handling changes to the configuration object (config: DataSourceSettings<any, any>) => void | - |
showForwardOAuthIdentityOption | Show the Forward OAuth identity option boolean | - |