Skip to content

Commit

Permalink
Make button implementation public
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneeVandervelde committed Jun 22, 2024
1 parent cb78fc5 commit 38d655f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions render-compose/api/android/render-compose.api
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ public final class ink/ui/render/compose/ComposeRenderer {
public final fun renderElement (Link/ui/structures/elements/UiElement;Landroidx/compose/runtime/Composer;I)V
}

public final class ink/ui/render/compose/elements/ButtonKt {
public static final fun Button-Qe0aG0s (Ljava/lang/String;Link/ui/structures/Sentiment;ZLjava/lang/String;Ljava/lang/String;Link/ui/render/compose/theme/ComposeRenderTheme;Lkotlin/jvm/functions/Function0;Landroidx/compose/ui/Modifier;Landroidx/compose/ui/Modifier;Landroidx/compose/runtime/Composer;II)V
}

public abstract interface class ink/ui/render/compose/renderer/ElementRenderer {
public abstract fun render (Link/ui/structures/elements/UiElement;Link/ui/render/compose/theme/ComposeRenderTheme;Link/ui/render/compose/renderer/ElementRenderer;Landroidx/compose/runtime/Composer;I)Link/ui/render/compose/renderer/RenderResult;
}
Expand Down
4 changes: 4 additions & 0 deletions render-compose/api/jvm/render-compose.api
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ public final class ink/ui/render/compose/ComposeRenderer {
public final fun renderElement (Link/ui/structures/elements/UiElement;Landroidx/compose/runtime/Composer;I)V
}

public final class ink/ui/render/compose/elements/ButtonKt {
public static final fun Button-Qe0aG0s (Ljava/lang/String;Link/ui/structures/Sentiment;ZLjava/lang/String;Ljava/lang/String;Link/ui/render/compose/theme/ComposeRenderTheme;Lkotlin/jvm/functions/Function0;Landroidx/compose/ui/Modifier;Landroidx/compose/ui/Modifier;Landroidx/compose/runtime/Composer;II)V
}

public abstract interface class ink/ui/render/compose/renderer/ElementRenderer {
public abstract fun render (Link/ui/structures/elements/UiElement;Link/ui/render/compose/theme/ComposeRenderTheme;Link/ui/render/compose/renderer/ElementRenderer;Landroidx/compose/runtime/Composer;I)Link/ui/render/compose/renderer/RenderResult;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import kotlinx.coroutines.launch
import org.jetbrains.compose.resources.painterResource

@Composable
internal fun Button(
fun Button(
text: String,
sentiment: Sentiment = Sentiment.Nominal,
latching: Boolean = false,
Expand Down

0 comments on commit 38d655f

Please sign in to comment.