---
title: "makeBody(configuration:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/texteditorstyle/makebody(configuration:)"
---

# makeBody(configuration:)

Creates a view that represents the body of a text editor.

## Declaration

```swift
@ContentBuilder @MainActor @preconcurrency func makeBody(configuration: Self.Configuration) -> Self.Body
```

## Parameters

- `configuration`: The properties of the text editor.

## Discussion

Discussion The system calls this method for each TextEditor instance in a view hierarchy where this style is the current text editor style.

## See Also

### Creating custom styles

- [TextEditorStyle.Configuration](swiftui/texteditorstyle/configuration.md)
- [Body](swiftui/texteditorstyle/body.md)
