mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
docs(NA): adding @kbn/ambient-storybook-types into ops docs (#132483)
This commit is contained in:
parent
b29c645bda
commit
d8a62589b3
4 changed files with 21 additions and 4 deletions
|
@ -43,6 +43,7 @@ layout: landing
|
|||
{ pageId: "kibDevDocsToolingLog" },
|
||||
{ pageId: "kibDevDocsOpsJestSerializers"},
|
||||
{ pageId: "kibDevDocsOpsExpect" },
|
||||
{ pageId: "kibDevDocsOpsAmbientStorybookTypes" },
|
||||
{ pageId: "kibDevDocsOpsAmbientUiTypes"},
|
||||
]}
|
||||
/>
|
|
@ -197,8 +197,9 @@
|
|||
"label": "Utilities",
|
||||
"items": [
|
||||
{ "id": "kibDevDocsToolingLog" },
|
||||
{ "id": "kibDevDocsOpsJestSerializers"},
|
||||
{ "id": "kibDevDocsOpsJestSerializers" },
|
||||
{ "id": "kibDevDocsOpsExpect" },
|
||||
{ "id": "kibDevDocsOpsAmbientStorybookTypes" },
|
||||
{ "id": "kibDevDocsOpsAmbientUiTypes" }
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
# @kbn/ambient-storybook-types
|
||||
|
||||
Ambient types needed to use storybook.
|
18
packages/kbn-ambient-storybook-types/README.mdx
Normal file
18
packages/kbn-ambient-storybook-types/README.mdx
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
id: kibDevDocsOpsAmbientStorybookTypes
|
||||
slug: /kibana-dev-docs/ops/ambient-storybook-types
|
||||
title: "@kbn/ambient-storybook-types"
|
||||
description: A package holding ambient type definitions for storybooks
|
||||
date: 2022-05-18
|
||||
tags: ['kibana', 'dev', 'contributor', 'operations', 'ambient', 'storybook', 'types']
|
||||
---
|
||||
|
||||
This package holds ambient typescript definitions needed to use storybooks.
|
||||
|
||||
## Packages
|
||||
|
||||
To include these types in a package:
|
||||
|
||||
- add `"//packages/kbn-ambient-storybook-types"` to the `RUNTIME_DEPS` portion of the `BUILD.bazel` file.
|
||||
- add `"//packages/kbn-ambient-storybook-types:npm_module_types"` to the `TYPES_DEPS` portion of the `BUILD.bazel` file.
|
||||
- add `"@kbn/ambient-storybook-types"` to the `types` portion of the `tsconfig.json` file.
|
Loading…
Add table
Add a link
Reference in a new issue