Skip to content

Commit

Permalink
add doc for modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
beradeep committed Oct 16, 2024
1 parent 5a400b5 commit 72d5908
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import androidx.compose.ui.semantics.semantics
public object PostHogMaskModifier {
internal val PostHogReplayMask = SemanticsPropertyKey<Boolean>("ph-no-capture")

/**
* Marks the element as not to be captured by PostHog Session Replay.
*/
public fun Modifier.postHogMaskReplay(): Modifier {
return semantics(
properties = {
Expand Down

0 comments on commit 72d5908

Please sign in to comment.