Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Slotting suggestion #10

@CedrickFlocon

Description

@CedrickFlocon

Hi,

In order to solve all style implementation you should use the slot Api pattern for your component :

@Composable
fun <T> ListItemPicker(
    modifier: Modifier = Modifier,
    pickerState = rememberPickerState()
    item: @Composable (T) -> Unit
)

https://chris.banes.dev/slotting-in-with-compose-ui/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions