Content

abstract fun Content()

Composable, which displays the main UI for this Field. If you want to customize the UI, you can override this method in your PreviewLabField to customize the UI.

This Composable is expected to be called primarily within a View method.

Content should include only the main UI and not the display of the label header; the display of the label header is the role of the View method.

If you are interested in customizing the PreviewLabField UI, please also see the Customizing Field UI documentation.

See also