Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commonize BasicTooltipBox #1092

Merged
merged 1 commit into from
Feb 12, 2024
Merged

Commonize BasicTooltipBox #1092

merged 1 commit into from
Feb 12, 2024

Commits on Feb 9, 2024

  1. Commonize BasicTooltipBox

    The implementation is moved from BasicTooltip.android.kt to BasicTooltipBoxInternal.kt and reused in skiko actual.
    
    ## Testing
    manual on this example:
    ```
        @composable
        fun Content() {
            TooltipBox(
                positionProvider = TooltipDefaults.rememberPlainTooltipPositionProvider(),
                tooltip = {
                    PlainTooltip {
                        androidx.compose.material3.Text("Add to favorites")
                    }
                },
                state = rememberTooltipState()
            ) {
                IconButton(
                    onClick = { /* Icon button's click event */ }
                ) {
                    androidx.compose.material3.Icon(
                        imageVector = Icons.Filled.Favorite,
                        contentDescription = "Localized Description"
                    )
                }
            }
        }
    ```
    igordmn committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    da04be1 View commit details
    Browse the repository at this point in the history