# ComponentWithOptions Type documentation

## TypeScript declaration

### [ComponentWithOptions](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L40-L45>)

**Kind:** interface

```
import type { ComponentWithOptions } from '@siemens/element-ng/markdown';
```

A combination of a component and options passed to it during run-time

```
interface ComponentWithOptions<T>
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [component](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L42-L42>) | `Type<T>` | The component used to render the node |
| [options](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L44-L44>) (optional) | `any` | Options passed to the component |
