kibana/api_docs/kbn_ml_kibana_theme.devdocs.json

69 lines
No EOL
1.7 KiB
JSON

{
"id": "@kbn/ml-kibana-theme",
"client": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"server": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"common": {
"classes": [],
"functions": [
{
"parentPluginId": "@kbn/ml-kibana-theme",
"id": "def-common.useIsDarkTheme",
"type": "Function",
"tags": [
"return"
],
"label": "useIsDarkTheme",
"description": [
"\nIndicates if the currently applied theme is either dark or light."
],
"signature": [
"(theme: ",
"ThemeServiceSetup",
") => boolean"
],
"path": "x-pack/platform/packages/private/ml/kibana_theme/src/hooks.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-kibana-theme",
"id": "def-common.useIsDarkTheme.$1",
"type": "Object",
"tags": [],
"label": "theme",
"description": [],
"signature": [
"ThemeServiceSetup"
],
"path": "x-pack/platform/packages/private/ml/kibana_theme/src/hooks.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [
"- Returns true if the currently applied theme is dark."
],
"initialIsOpen": false
}
],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
}
}