+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "makeFragment"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++

## makeFragment variable

### makeFragment variable

<b>Signature</b>

```typescript
makeFragment: (text: string, syntax?: string | undefined) => Document
```
<b>Import</b>

```typescript
import { makeFragment } from '@grafana/ui';
```
