Skip to content

Commit

Permalink
library: Add missing package
Browse files Browse the repository at this point in the history
  • Loading branch information
YuKongA committed Aug 25, 2024
1 parent c04ce4f commit 8e10425
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package component

import MiuixCheckbox
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
Expand All @@ -17,6 +16,7 @@ import androidx.compose.ui.unit.dp
import top.yukonga.miuix.kmp.MiuixSuperCheckbox
import top.yukonga.miuix.kmp.MiuixSuperSwitch
import top.yukonga.miuix.kmp.basic.MiuixButton
import top.yukonga.miuix.kmp.basic.MiuixCheckbox
import top.yukonga.miuix.kmp.basic.MiuixSwitch

@Composable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package top.yukonga.miuix.kmp

import MiuixCheckbox
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.RowScope
import androidx.compose.runtime.Composable
Expand All @@ -12,6 +11,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.dp
import top.yukonga.miuix.kmp.basic.MiuixBasicComponent
import top.yukonga.miuix.kmp.basic.MiuixCheckbox

@Composable
fun MiuixSuperCheckbox(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package top.yukonga.miuix.kmp.basic

import androidx.compose.animation.animateColorAsState
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.animation.core.tween
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import androidx.compose.material3.ripple
import androidx.compose.runtime.Composable
import androidx.compose.runtime.NonRestartableComposable
import androidx.compose.runtime.Stable
import androidx.compose.runtime.compositionLocalOf
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
Expand All @@ -20,8 +19,6 @@ import androidx.compose.ui.graphics.Shape
import androidx.compose.ui.unit.dp
import top.yukonga.miuix.kmp.theme.MiuixTheme

val LocalContentColor = compositionLocalOf { Color.Black }

/**
* A surface component with Miuix style.
*
Expand Down

0 comments on commit 8e10425

Please sign in to comment.