AsyncAPI render engine for @kyma-project/documentation-component
npm install @kyma-project/dc-async-api-render-engineThe AsyncAPI render engine is based on the AsyncAPI React component.
- using npm
``bash`
npm i @kyma-project/dc-async-api-render-engine
- using yarn
`bash`
yarn add @kyma-project/dc-async-api-render-engine
| Name | Required | Type | Default value | Description |
| -------- | -------- | --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| config | No | ConfigInterface | See the default values here. | Defines the configuration of the AsyncAPI React component. |theme
| | No | ThemeInterface | See the default values here. | Defines the theme of the AsyncAPI React component. |
> NOTE: To learn how to pass options of a render engine, read this document.
To use default styles based on SAP Fundamentals, import them as follows:
`js`
import "@asyncapi/react-component/lib/styles/fiori.css";
To use the default font 72 provided by SAP Fundamentals, install the npm package from this Getting Started guide and import the font as follows:
`js``
import "fiori-fundamentals/dist/fonts.min.css";